Enum PhoneticEncoder

    • Enum Constant Detail

      • METAPHONE

        public static final PhoneticEncoder METAPHONE
        Enum value metaphone.
      • DOUBLE_METAPHONE

        public static final PhoneticEncoder DOUBLE_METAPHONE
        Enum value doubleMetaphone.
      • REFINED_SOUNDEX

        public static final PhoneticEncoder REFINED_SOUNDEX
        Enum value refinedSoundex.
      • CAVERPHONE1

        public static final PhoneticEncoder CAVERPHONE1
        Enum value caverphone1.
      • CAVERPHONE2

        public static final PhoneticEncoder CAVERPHONE2
        Enum value caverphone2.
      • KOELNER_PHONETIK

        public static final PhoneticEncoder KOELNER_PHONETIK
        Enum value koelnerPhonetik.
      • HAASE_PHONETIK

        public static final PhoneticEncoder HAASE_PHONETIK
        Enum value haasePhonetik.
      • BEIDER_MORSE

        public static final PhoneticEncoder BEIDER_MORSE
        Enum value beiderMorse.
    • Method Detail

      • values

        public static PhoneticEncoder[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (PhoneticEncoder c : PhoneticEncoder.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PhoneticEncoder valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • fromString

        public static PhoneticEncoder fromString​(String value)
        Parses a serialized value to a PhoneticEncoder instance.
        Parameters:
        value - the serialized value to parse.
        Returns:
        the parsed PhoneticEncoder object, or null if unable to parse.