
public enum CharCodecs extends Enum<CharCodecs> implements CharCodecInterface, CodecInterface
| Enum Constant and Description |
|---|
RUN_LENGTH
Run length codec for an array of chars (using ASCII code) http://www.asciitable.com/.
|
| Modifier and Type | Method and Description |
|---|---|
static char[] |
decodeArr(byte[] inputData)
Decode a byte array from an input array.
|
static CharCodecs |
getCodec(int inputInt)
Get the codec from an input integer.
|
int |
getCodecId() |
String |
getCodecName() |
static CharCodecs |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CharCodecs[] |
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 CharCodecs RUN_LENGTH
public static CharCodecs[] values()
for (CharCodecs c : CharCodecs.values()) System.out.println(c);
public static CharCodecs 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 static CharCodecs getCodec(int inputInt)
inputInt - the integer defining the codingpublic static char[] decodeArr(byte[] inputData)
inputData - the byte array of datapublic String getCodecName()
getCodecName in interface CodecInterfacepublic int getCodecId()
getCodecId in interface CodecInterfaceCopyright © 2015–2016 RCSB PDB. All rights reserved.