Enum EncodingType
- java.lang.Object
-
- java.lang.Enum<EncodingType>
-
- org.pentaho.di.trans.steps.textfileinput.EncodingType
-
- All Implemented Interfaces:
Serializable
,Comparable<EncodingType>
@Deprecated public enum EncodingType extends Enum<EncodingType>
Deprecated.replaced by implementation in the ...steps.fileinput.text package
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DOUBLE_BIG_ENDIAN
Deprecated.DOUBLE_LITTLE_ENDIAN
Deprecated.SINGLE
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
getBom()
Deprecated.byte[]
getBytes(String string, String encoding)
Deprecated.int
getCarriageReturnChar()
Deprecated.int
getLength()
Deprecated.int
getLineFeedChar()
Deprecated.static EncodingType
guessEncodingType(String encoding)
Deprecated.boolean
isLinefeed(int c)
Deprecated.boolean
isReturn(int c)
Deprecated.static String
removeBOMIfPresent(String string)
Deprecated.static EncodingType
valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name.static EncodingType[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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 nameNullPointerException
- 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.
-
getBytes
public byte[] getBytes(String string, String encoding) throws UnsupportedEncodingException
Deprecated.- Throws:
UnsupportedEncodingException
-
-