public interface DictionaryFile extends Owned
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the file.
|
void |
edit()
Reopens file in write mode.
|
java.lang.String |
getFilename()
Returns a filename from the part-of-speech and the file type.
|
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.
|
getDictionary, setDictionaryPOS getPOS()
java.lang.String getFilename()
DictionaryFileType getFileType()
void open() throws JWNLException
JWNLException - JWNLExceptionvoid close()
throws JWNLException
JWNLException - JWNLExceptionboolean isOpen()
void save() throws JWNLException
JWNLException - JWNLExceptionvoid edit() throws JWNLException
JWNLException - JWNLException