Package org.apache.tika.parser.strings
Enum StringsEncoding
- java.lang.Object
- 
- java.lang.Enum<StringsEncoding>
- 
- org.apache.tika.parser.strings.StringsEncoding
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<StringsEncoding>
 
 public enum StringsEncoding extends Enum<StringsEncoding> Character encoding of the strings that are to be found using the "strings" command.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description BIGENDIAN_16_BITBIGENDIAN_32_BITLITTLEENDIAN_16_BITLITTLEENDIAN_32_BITSINGLE_7_BITSINGLE_8_BIT
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description charget()StringtoString()static StringsEncodingvalueOf(String name)Returns the enum constant of this type with the specified name.static StringsEncoding[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
SINGLE_7_BITpublic static final StringsEncoding SINGLE_7_BIT 
 - 
SINGLE_8_BITpublic static final StringsEncoding SINGLE_8_BIT 
 - 
BIGENDIAN_16_BITpublic static final StringsEncoding BIGENDIAN_16_BIT 
 - 
LITTLEENDIAN_16_BITpublic static final StringsEncoding LITTLEENDIAN_16_BIT 
 - 
BIGENDIAN_32_BITpublic static final StringsEncoding BIGENDIAN_32_BIT 
 - 
LITTLEENDIAN_32_BITpublic static final StringsEncoding LITTLEENDIAN_32_BIT 
 
- 
 - 
Method Detail- 
valuespublic static StringsEncoding[] 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 (StringsEncoding c : StringsEncoding.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static StringsEncoding 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
 
 - 
getpublic char get() 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- Enum<StringsEncoding>
 
 
- 
 
-