public static enum DumpStorage.DescOutFormat extends Enum<DumpStorage.DescOutFormat>
DescriptorSerializer.toByteArray(com.chemaxon.descriptors.common.Descriptor)
and is deserialized
into the bare form using the matching DescriptorSerializer.fromByteArray(byte[])
method. During
deserialization thus the bare descriptor representation is observable.Enum Constant and Description |
---|
BINARYSTRING
|
DEFAULT
Default output using
DescriptorSerializer.toString(com.chemaxon.descriptors.common.Descriptor) . |
INTDECIMALSTRING
|
LONGDECIMALSTRING
|
Modifier and Type | Method and Description |
---|---|
abstract String |
toString(DescriptorSerializer s,
Descriptor d)
Create string representation.
|
static DumpStorage.DescOutFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DumpStorage.DescOutFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DumpStorage.DescOutFormat DEFAULT
DescriptorSerializer.toString(com.chemaxon.descriptors.common.Descriptor)
.public static final DumpStorage.DescOutFormat INTDECIMALSTRING
public static final DumpStorage.DescOutFormat LONGDECIMALSTRING
public static final DumpStorage.DescOutFormat BINARYSTRING
public static DumpStorage.DescOutFormat[] values()
for (DumpStorage.DescOutFormat c : DumpStorage.DescOutFormat.values()) System.out.println(c);
public static DumpStorage.DescOutFormat valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract String toString(DescriptorSerializer s, Descriptor d)
s
- Associated descriptor serializerd
- Descriptor to convertClassCastException
- when descriptor type is not supported