Package net.didion.jwnl.dictionary.file
Interface ObjectDictionaryFile
- All Superinterfaces:
DictionaryFile
- All Known Implementing Classes:
PrincetonObjectDictionaryFile
DictioanryFile
that reads and writes serailazed objects.-
Field Summary
Fields inherited from interface net.didion.jwnl.dictionary.file.DictionaryFile
COMMENT_HEADER
-
Method Summary
Modifier and TypeMethodDescriptionRead and deserialize an object from the filevoid
writeObject
(Object obj) Serialize and write an object ot the file.Methods inherited from interface net.didion.jwnl.dictionary.file.DictionaryFile
close, getFile, getFileType, getPOS, isOpen, newInstance, open
-
Method Details
-
readObject
Read and deserialize an object from the file- Throws:
IOException
ClassNotFoundException
-
writeObject
Serialize and write an object ot the file.- Throws:
IOException
-