|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectanl.aida.core.STCReader
public class STCReader
Reads a ScoredTermsCollection from a file written by a STCWriter.
Constructor Summary | |
---|---|
STCReader()
|
Method Summary | |
---|---|
ScoredTermsCollection |
readCollection(java.lang.String file)
Reads and returns a StoredTermsCollection written by a STCWriter. |
STCHeader |
readHeader(java.lang.String file)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public STCReader()
Method Detail |
---|
public STCHeader readHeader(java.lang.String file) throws java.io.IOException
java.io.IOException
public ScoredTermsCollection readCollection(java.lang.String file) throws java.io.IOException, AIDAException
file
- the path of the file to read
java.io.IOException
- if there is an error reading the file.
AIDAException
- if there is an error reading the file.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |