biz.c24.io.api.test
Enum SourceSinkType
java.lang.Object
java.lang.Enum<SourceSinkType>
biz.c24.io.api.test.SourceSinkType
- All Implemented Interfaces:
- Serializable, Comparable<SourceSinkType>
public enum SourceSinkType
- extends Enum<SourceSinkType>
TEXTUAL
public static final SourceSinkType TEXTUAL
XML
public static final SourceSinkType XML
BINARY
public static final SourceSinkType BINARY
SPREADSHEET
public static final SourceSinkType SPREADSHEET
HTML
public static final SourceSinkType HTML
DATABASE
public static final SourceSinkType DATABASE
JAVA_CLASS
public static final SourceSinkType JAVA_CLASS
INTERCHANGE
public static final SourceSinkType INTERCHANGE
TAG_VALUE_PAIR
public static final SourceSinkType TAG_VALUE_PAIR
JSON
public static final SourceSinkType JSON
SWIFT
public static final SourceSinkType SWIFT
FIX
public static final SourceSinkType FIX
MARSHALLING_DISABLED
public static final SourceSinkType MARSHALLING_DISABLED
values
public static SourceSinkType[] 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 (SourceSinkType c : SourceSinkType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SourceSinkType 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
getFormatType
public static SourceSinkType getFormatType(String name)
createSource
public static Source createSource(String name,
ClassLoader cl)
createSink
public static Sink createSink(String name,
ClassLoader cl)
getName
public String getName()
isSource
public boolean isSource()
isSink
public boolean isSink()
createSource
public Source createSource(ClassLoader cl)
createSink
public Sink createSink(ClassLoader cl)
toString
public String toString()
- Overrides:
toString
in class Enum<SourceSinkType>
getEnumListSource
public static List getEnumListSource()
getEnumListSource
public static List getEnumListSource(boolean textOnly)
getEnumListSink
public static List getEnumListSink()
getEnumListSink
public static List getEnumListSink(boolean textOnly)
C24 Technologies © 2002-2012: All Rights Reserved.