Package net.didion.jwnl.dictionary.file
Class DictionaryFileType
- java.lang.Object
-
- net.didion.jwnl.dictionary.file.DictionaryFileType
-
public class DictionaryFileType extends java.lang.Object
Instances of this class specify the different types of dictionary files (the different classes of dictionary files.
-
-
Field Summary
Fields Modifier and Type Field Description private DictionaryElementType
_elementType
private Resolvable
_name
private static java.util.List
ALL_TYPES
static DictionaryFileType
DATA
static DictionaryFileType
EXCEPTION
static DictionaryFileType
INDEX
-
Constructor Summary
Constructors Modifier Constructor Description private
DictionaryFileType(java.lang.String type, DictionaryElementType elementType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.List
getAllDictionaryFileTypes()
DictionaryElementType
getElementType()
java.lang.String
getName()
int
hashCode()
java.lang.String
toString()
-
-
-
Field Detail
-
INDEX
public static final DictionaryFileType INDEX
-
DATA
public static final DictionaryFileType DATA
-
EXCEPTION
public static final DictionaryFileType EXCEPTION
-
ALL_TYPES
private static final java.util.List ALL_TYPES
-
_name
private Resolvable _name
-
_elementType
private DictionaryElementType _elementType
-
-
Constructor Detail
-
DictionaryFileType
private DictionaryFileType(java.lang.String type, DictionaryElementType elementType)
-
-
Method Detail
-
getAllDictionaryFileTypes
public static java.util.List getAllDictionaryFileTypes()
-
getName
public java.lang.String getName()
-
getElementType
public DictionaryElementType getElementType()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-