org.apache.camel.component.jt400
Enum Jt400DataQueueEndpoint.Format

java.lang.Object
  extended by java.lang.Enum<Jt400DataQueueEndpoint.Format>
      extended by org.apache.camel.component.jt400.Jt400DataQueueEndpoint.Format
All Implemented Interfaces:
Serializable, Comparable<Jt400DataQueueEndpoint.Format>
Enclosing class:
Jt400DataQueueEndpoint

public static enum Jt400DataQueueEndpoint.Format
extends Enum<Jt400DataQueueEndpoint.Format>

Enumeration of supported data formats


Enum Constant Summary
binary
          Using byte[] for transferring data
text
          Using String for transferring data
 
Method Summary
static Jt400DataQueueEndpoint.Format valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Jt400DataQueueEndpoint.Format[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

text

public static final Jt400DataQueueEndpoint.Format text
Using String for transferring data


binary

public static final Jt400DataQueueEndpoint.Format binary
Using byte[] for transferring data

Method Detail

values

public static Jt400DataQueueEndpoint.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 (Jt400DataQueueEndpoint.Format c : Jt400DataQueueEndpoint.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 Jt400DataQueueEndpoint.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 name
NullPointerException - if the argument is null


Apache CAMEL