Class PropertyFile.Entry.Type

    • Constructor Detail

      • Type

        public Type()
    • Method Detail

      • getValues

        public java.lang.String[] getValues()
        This is the only method a subclass needs to implement.
        Specified by:
        getValues in class EnumeratedAttribute
        Returns:
        an array holding all possible values of the enumeration. The order of elements must be fixed so that indexOfValue(String) always return the same index for the same value.
      • toType

        public static int toType​(java.lang.String type)
        Convert string to index.
        Parameters:
        type - the string to convert.
        Returns:
        the index.