Enum EncodingType

    • Enum Constant Detail

      • SINGLE

        public static final EncodingType SINGLE
        Deprecated.
      • DOUBLE_BIG_ENDIAN

        public static final EncodingType DOUBLE_BIG_ENDIAN
        Deprecated.
      • DOUBLE_LITTLE_ENDIAN

        public static final EncodingType DOUBLE_LITTLE_ENDIAN
        Deprecated.
    • Method Detail

      • values

        public static EncodingType[] values()
        Deprecated.
        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 (EncodingType c : EncodingType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EncodingType valueOf​(String name)
        Deprecated.
        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
      • getLength

        public int getLength()
        Deprecated.
      • getBom

        public int getBom()
        Deprecated.
      • getCarriageReturnChar

        public int getCarriageReturnChar()
        Deprecated.
      • getLineFeedChar

        public int getLineFeedChar()
        Deprecated.
      • isReturn

        public boolean isReturn​(int c)
        Deprecated.
      • isLinefeed

        public boolean isLinefeed​(int c)
        Deprecated.
      • guessEncodingType

        public static EncodingType guessEncodingType​(String encoding)
        Deprecated.
      • removeBOMIfPresent

        public static String removeBOMIfPresent​(String string)
        Deprecated.