Class 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.
    • Field Detail

      • EXCEPTION

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

        private final java.lang.String _name
        The name of the dictionary.
      • ALL_TYPES

        private static final java.util.List ALL_TYPES
        A list of the different dictionary types.
    • Constructor Detail

      • DictionaryElementType

        private DictionaryElementType​(java.lang.String name)
        Create a new DictionaryElementType.
        Parameters:
        name -
    • 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