net.sf.extjwnl.data
Class DictionaryElementType

java.lang.Object
  extended by net.sf.extjwnl.data.DictionaryElementType

public class DictionaryElementType
extends Object

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

Author:
Brett Walenz , John Didion , Aliaksandr Autayeu

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 List<DictionaryElementType> getAllDictionaryElementTypes()
          Returns all the dictionary types.
 String getName()
          Returns the name of this DictionaryElementType.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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 List<DictionaryElementType> getAllDictionaryElementTypes()
Returns all the dictionary types.

Returns:
all the dictionary types

toString

public String toString()
Overrides:
toString in class Object

getName

public String getName()
Returns the name of this DictionaryElementType.

Returns:
the name of this DictionaryElementType

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2011. All Rights Reserved.