|
||||||||||
| 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.
| Field Summary | |
|---|---|
static String |
COMMENT_HEADER
|
| Method Summary | |
|---|---|
void |
close()
Close the file |
File |
getFile()
|
DictionaryFileType |
getFileType()
The file type associated with this file. |
POS |
getPOS()
The POS associated with this file. |
boolean |
isOpen()
Return true if the file is open |
DictionaryFile |
newInstance(String path,
POS pos,
DictionaryFileType fileType)
Create a new instance of the dictionary file |
void |
open()
Open the file. |
| Field Detail |
|---|
static final String COMMENT_HEADER
| Method Detail |
|---|
DictionaryFile newInstance(String path,
POS pos,
DictionaryFileType fileType)
void close()
boolean isOpen()
POS getPOS()
File getFile()
DictionaryFileType getFileType()
void open()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||