Package net.didion.jwnl.dictionary
Class FileBackedDictionary.SubstringIndexFileLookaheadIterator
- java.lang.Object
-
- net.didion.jwnl.dictionary.FileBackedDictionary.FileLookaheadIterator
-
- net.didion.jwnl.dictionary.FileBackedDictionary.IndexFileLookaheadIterator
-
- net.didion.jwnl.dictionary.FileBackedDictionary.SubstringIndexFileLookaheadIterator
-
- All Implemented Interfaces:
java.util.Iterator
- Enclosing class:
- FileBackedDictionary
private class FileBackedDictionary.SubstringIndexFileLookaheadIterator extends FileBackedDictionary.IndexFileLookaheadIterator
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
_substring
-
Fields inherited from class net.didion.jwnl.dictionary.FileBackedDictionary.FileLookaheadIterator
_fileType, _pos
-
-
Constructor Summary
Constructors Constructor Description SubstringIndexFileLookaheadIterator(POS pos, java.lang.String substring)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected long
getNextOffset(long currentOffset)
-
Methods inherited from class net.didion.jwnl.dictionary.FileBackedDictionary.IndexFileLookaheadIterator
parseLine
-
Methods inherited from class net.didion.jwnl.dictionary.FileBackedDictionary.FileLookaheadIterator
hasNext, next, nextLine, nextOffset, remove
-
-
-
-
Constructor Detail
-
SubstringIndexFileLookaheadIterator
public SubstringIndexFileLookaheadIterator(POS pos, java.lang.String substring) throws JWNLException
- Throws:
JWNLException
-
-
Method Detail
-
getNextOffset
protected long getNextOffset(long currentOffset) throws JWNLException
- Overrides:
getNextOffset
in classFileBackedDictionary.FileLookaheadIterator
- Throws:
JWNLException
-
-