barchart-udt-core
2.3.0-SNAPSHOT / 2013-05-13T01:37:38.485-0500

com.barchart.udt
Enum OptionUDT.Format

java.lang.Object
  extended by java.lang.Enum<OptionUDT.Format>
      extended by com.barchart.udt.OptionUDT.Format
All Implemented Interfaces:
Serializable, Comparable<OptionUDT.Format>
Enclosing class:
OptionUDT<T>

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

render options in human format


Enum Constant Summary
BINARY
           
BOOLEAN
           
DECIMAL
           
DEFAULT
           
 
Method Summary
abstract  String convert(Object value)
           
static OptionUDT.Format valueOf(String name)
          Returns the enum constant of this type with the specified name.
static OptionUDT.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

DECIMAL

public static final OptionUDT.Format DECIMAL

BINARY

public static final OptionUDT.Format BINARY

BOOLEAN

public static final OptionUDT.Format BOOLEAN

DEFAULT

public static final OptionUDT.Format DEFAULT
Method Detail

values

public static OptionUDT.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 (OptionUDT.Format c : OptionUDT.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 OptionUDT.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

convert

public abstract String convert(Object value)

barchart-udt-core
2.3.0-SNAPSHOT / 2013-05-13T01:37:38.485-0500

Copyright © 2009-2013 Barchart, Inc.. All Rights Reserved.