net.sf.extjwnl.dictionary.file
Interface ObjectDictionaryFile
- All Superinterfaces:
- DictionaryFile, Owned
- All Known Implementing Classes:
- PrincetonObjectDictionaryFile
public interface ObjectDictionaryFile
- extends DictionaryFile
DictionaryFile
that reads and writes serialized objects.
- Author:
- John Didion , Aliaksandr Autayeu
readObject
Object readObject()
throws IOException,
ClassNotFoundException
- Reads and deserializes an object from the file.
- Returns:
- deserialized an object
- Throws:
IOException
- IOException
ClassNotFoundException
- ClassNotFoundException
writeObject
void writeObject(Object obj)
throws IOException
- Serializes and write an object ot the file.
- Parameters:
obj
- object to write
- Throws:
IOException
- IOException
Copyright © 2011. All Rights Reserved.