|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.didion.jwnl.dictionary.file.AbstractDictionaryFile
net.didion.jwnl.princeton.file.AbstractPrincetonDictionaryFile
net.didion.jwnl.princeton.file.AbstractPrincetonRandomAccessDictionaryFile
public abstract class AbstractPrincetonRandomAccessDictionaryFile
| Field Summary |
|---|
| Fields inherited from interface net.didion.jwnl.dictionary.file.DictionaryFile |
|---|
COMMENT_HEADER |
| Constructor Summary | |
|---|---|
AbstractPrincetonRandomAccessDictionaryFile()
|
|
| Method Summary | |
|---|---|
long |
getNextLineOffset()
Get the byte offset of the next line (after the position of the file pointer) |
boolean |
isPreviousLineOffset(long offset)
Return true if offset is the previous offset. |
void |
setNextLineOffset(long previousOffset,
long nextOffset)
Move the file pointer so that its next line offset is nextOffset |
| Methods inherited from class net.didion.jwnl.dictionary.file.AbstractDictionaryFile |
|---|
getFile, getFileType, getPOS, open |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.didion.jwnl.dictionary.file.RandomAccessDictionaryFile |
|---|
getFilePointer, length, read, readLine, seek |
| Methods inherited from interface net.didion.jwnl.dictionary.file.DictionaryFile |
|---|
close, getFile, getFileType, getPOS, isOpen, newInstance, open |
| Constructor Detail |
|---|
public AbstractPrincetonRandomAccessDictionaryFile()
| Method Detail |
|---|
public void setNextLineOffset(long previousOffset,
long nextOffset)
RandomAccessDictionaryFile
setNextLineOffset in interface RandomAccessDictionaryFilepublic boolean isPreviousLineOffset(long offset)
RandomAccessDictionaryFileoffset is the previous offset.
isPreviousLineOffset in interface RandomAccessDictionaryFilepublic long getNextLineOffset()
RandomAccessDictionaryFile
getNextLineOffset in interface RandomAccessDictionaryFile
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||