Package com.adaptris.hpcc.arguments
Enum SprayFormat.ENCODING
- java.lang.Object
-
- java.lang.Enum<SprayFormat.ENCODING>
-
- com.adaptris.hpcc.arguments.SprayFormat.ENCODING
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SprayFormat.ENCODING>
- Enclosing class:
- SprayFormat
public static enum SprayFormat.ENCODING extends java.lang.Enum<SprayFormat.ENCODING>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SprayFormat.ENCODING
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SprayFormat.ENCODING[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ASCII
public static final SprayFormat.ENCODING ASCII
-
UTF8
public static final SprayFormat.ENCODING UTF8
-
UTF8N
public static final SprayFormat.ENCODING UTF8N
-
UTF16
public static final SprayFormat.ENCODING UTF16
-
UTF16LE
public static final SprayFormat.ENCODING UTF16LE
-
UTF16BE
public static final SprayFormat.ENCODING UTF16BE
-
UTF32
public static final SprayFormat.ENCODING UTF32
-
UTF32LE
public static final SprayFormat.ENCODING UTF32LE
-
UTF32BE
public static final SprayFormat.ENCODING UTF32BE
-
-
Method Detail
-
values
public static SprayFormat.ENCODING[] 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 (SprayFormat.ENCODING c : SprayFormat.ENCODING.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SprayFormat.ENCODING valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-