org.galagosearch.core.index
Class VocabularyWriter

java.lang.Object
  extended by org.galagosearch.core.index.VocabularyWriter

public class VocabularyWriter
extends java.lang.Object

Author:
trevor

Constructor Summary
VocabularyWriter()
           
 
Method Summary
 void add(byte[] word, long offset)
           
 byte[] data()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VocabularyWriter

public VocabularyWriter()
                 throws java.io.IOException
Throws:
java.io.IOException
Method Detail

add

public void add(byte[] word,
                long offset)
         throws java.io.IOException
Throws:
java.io.IOException

data

public byte[] data()
            throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2009. All Rights Reserved.