net.didion.jwnl.dictionary.file
Interface ObjectDictionaryFile
- All Superinterfaces:
- DictionaryFile
- All Known Implementing Classes:
- PrincetonObjectDictionaryFile
public interface ObjectDictionaryFile
- extends DictionaryFile
DictioanryFile
that reads and writes serailazed objects.
Method Summary |
java.lang.Object |
readObject()
Read and deserialize an object from the file |
void |
writeObject(java.lang.Object obj)
Serialize and write an object ot the file. |
readObject
java.lang.Object readObject()
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read and deserialize an object from the file
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeObject
void writeObject(java.lang.Object obj)
throws java.io.IOException
- Serialize and write an object ot the file.
- Throws:
java.io.IOException