net.didion.jwnl.data
Class DictionaryElementType

java.lang.Object
  extended by net.didion.jwnl.data.DictionaryElementType

public class DictionaryElementType
extends java.lang.Object

WordNet contains different file types, index, synset data, and exception files. This class defines what the current dictionary is.

Author:
brett

Field Summary
static DictionaryElementType EXCEPTION
          Property that defines an exception file.
static DictionaryElementType INDEX_WORD
          Property to define an index file.
static DictionaryElementType SYNSET
          Property to define a synset file.
 
Method Summary
static java.util.List getAllDictionaryElementTypes()
          Gets all the dictionary types.
 java.lang.String getName()
          Gets the name of this DictionaryElementType.
 int hashCode()
          
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
equals, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

INDEX_WORD

public static final DictionaryElementType INDEX_WORD
Property to define an index file.


SYNSET

public static final DictionaryElementType SYNSET
Property to define a synset file.


EXCEPTION

public static final DictionaryElementType EXCEPTION
Property that defines an exception file.

Method Detail

getAllDictionaryElementTypes

public static java.util.List getAllDictionaryElementTypes()
Gets all the dictionary types.

Returns:

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

getName

public java.lang.String getName()
Gets the name of this DictionaryElementType.

Returns:

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object