Package org.apache.camel.component.jt400
Enum Jt400Configuration.Format
- java.lang.Object
-
- java.lang.Enum<Jt400Configuration.Format>
-
- org.apache.camel.component.jt400.Jt400Configuration.Format
-
- All Implemented Interfaces:
Serializable,Comparable<Jt400Configuration.Format>
- Enclosing class:
- Jt400Configuration
public static enum Jt400Configuration.Format extends Enum<Jt400Configuration.Format>
Enumeration of supported data formats
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Jt400Configuration.FormatvalueOf(String name)Returns the enum constant of this type with the specified name.static Jt400Configuration.Format[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
text
public static final Jt400Configuration.Format text
UsingStringfor transferring data
-
binary
public static final Jt400Configuration.Format binary
Usingbyte[]for transferring data
-
-
Method Detail
-
values
public static Jt400Configuration.Format[] 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 (Jt400Configuration.Format c : Jt400Configuration.Format.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Jt400Configuration.Format 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 nameNullPointerException- if the argument is null
-
-