public static enum Dataset.DatasetType extends java.lang.Enum<Dataset.DatasetType> implements FormatUnmarshaller<Dataset>
| Enum Constant and Description |
|---|
FILE |
FILE_LEGACY |
STREAM |
STREAM_LEGACY |
UNMARSHALL |
| Modifier and Type | Method and Description |
|---|---|
void |
marshall(FormatWriter mFormat) |
Dataset |
unmarshall(FormatReader mFormat) |
static Dataset.DatasetType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Dataset.DatasetType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Dataset.DatasetType FILE
public static final Dataset.DatasetType STREAM
public static final Dataset.DatasetType FILE_LEGACY
public static final Dataset.DatasetType STREAM_LEGACY
public static final Dataset.DatasetType UNMARSHALL
public static Dataset.DatasetType[] values()
for (Dataset.DatasetType c : Dataset.DatasetType.values()) System.out.println(c);
public static Dataset.DatasetType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic void marshall(FormatWriter mFormat) throws FormatException
FormatExceptionpublic Dataset unmarshall(FormatReader mFormat) throws FormatException
unmarshall in interface FormatUnmarshaller<Dataset>mFormat - - The format reader to read fromFormatException - If there was a problem while reading