|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DictionaryFile
Represents a single dictionary file. Extensions or implementations of this interface should provide the appropriate methods to read from the file.
Method Summary | |
---|---|
void |
close()
Closes the file. |
boolean |
delete()
Deletes the file. |
void |
edit()
Reopens file in write mode. |
File |
getFile()
Returns the file. |
DictionaryFileType |
getFileType()
Returns the file type associated with this file. |
POS |
getPOS()
Returns the POS associated with this file. |
boolean |
isOpen()
Returns true if the file is open. |
void |
open()
Opens the file. |
void |
save()
Saves the file. |
Methods inherited from interface net.sf.extjwnl.util.factory.Owned |
---|
getDictionary, setDictionary |
Method Detail |
---|
void close()
boolean isOpen()
POS getPOS()
File getFile()
DictionaryFileType getFileType()
void open() throws IOException
IOException
- IOExceptionboolean delete() throws IOException
IOException
- IOExceptionvoid save() throws IOException, JWNLException
IOException
- IOException
JWNLException
- JWNLExceptionvoid edit() throws IOException
IOException
- IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |