public enum StringCodecs extends java.lang.Enum<StringCodecs> implements StringCodecsInterface, CodecInterface
| Enum Constant and Description |
|---|
ENCOODE_CHAINS
Encode an array of Strings to a byte array.
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String[] |
decodeArr(byte[] inputData)
Decode a byte array from an input array.
|
static StringCodecs |
getCodec(int codecId)
Decode a byte array from an input array.
|
int |
getCodecId() |
java.lang.String |
getCodecName() |
static StringCodecs |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StringCodecs[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfdecode, encodepublic static final StringCodecs ENCOODE_CHAINS
public static StringCodecs[] values()
for (StringCodecs c : StringCodecs.values()) System.out.println(c);
public static StringCodecs 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 static StringCodecs getCodec(int codecId)
codecId - the int specifying the encoding strategypublic static java.lang.String[] decodeArr(byte[] inputData)
inputData - the byte array of datapublic java.lang.String getCodecName()
getCodecName in interface CodecInterfacepublic int getCodecId()
getCodecId in interface CodecInterfaceCopyright © 2015-2019 RCSB PDB. All Rights Reserved.