de.aitools.aq.invertedindex.util
Class InvertedFileReader<V extends Value>
java.lang.Object
de.aitools.aq.invertedindex.util.InvertedFileReader<V>
public class InvertedFileReader<V extends Value>
- extends java.lang.Object
This class reads records from a (pseudo-) inverted file.
- Version:
- $Id: InvertedFileReader.java,v 1.2 2010/10/15 15:30:15 trenkman Exp $
- Author:
- martin.trenkmann@uni-weimar.de
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InvertedFileReader
public InvertedFileReader(java.io.InputStream stream)
throws java.io.IOException
- Throws:
java.io.IOException
InvertedFileReader
public InvertedFileReader(java.io.File file)
throws java.io.FileNotFoundException,
java.io.IOException
- Throws:
java.io.FileNotFoundException
java.io.IOException
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
read
public boolean read(Record<V> record)
throws java.io.IOException,
Value.InvalidArgumentException
- Throws:
java.io.IOException
Value.InvalidArgumentException