org.galagosearch.core.parse
Class StringPooler

java.lang.Object
  extended by org.galagosearch.core.parse.StringPooler

public class StringPooler
extends java.lang.Object

The point of this class is to replace strings in document objects with already-used copies. This can greatly reduce the amount of memory used by the system.

Author:
trevor

Constructor Summary
StringPooler()
           
 
Method Summary
 void transform(Document document)
          Replaces the strings within this document with strings in a string pool.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringPooler

public StringPooler()
Method Detail

transform

public void transform(Document document)
Replaces the strings within this document with strings in a string pool.

Parameters:
document -


Copyright © 2009. All Rights Reserved.