public class StringCodecImpl extends AbstractIntegerStringCodec<String> implements StringCodec
AbstractIntegerStringCodec.IntegerComponents, AbstractIntegerStringCodec.StringTypeHandler| Modifier and Type | Field and Description |
|---|---|
protected static int[] |
HEX_INDICES |
protected static char[] |
LOWER_HEX |
protected static char[] |
UPPER_HEX |
protected static int |
UUID_FLAG |
protected static int |
UUID_UPPERCASE_FLAG |
JMF_STRING_TYPE_HANDLERCLIENT_PERSISTENCE_COLLECTION_PACKAGE, JMF_1111_1010, JMF_1111_1011, JMF_1111_1100, JMF_1111_1101, JMF_1111_1110, JMF_1111_1111, JMF_ARRAY, JMF_ARRAY_LIST, JMF_BIG_DECIMAL, JMF_BIG_INTEGER, JMF_BOOLEAN, JMF_BOOLEAN_OBJECT, JMF_BYTE, JMF_BYTE_OBJECT, JMF_CHARACTER, JMF_CHARACTER_OBJECT, JMF_CLASS, JMF_DATE, JMF_DOUBLE, JMF_DOUBLE_OBJECT, JMF_ENUM, JMF_FLOAT, JMF_FLOAT_OBJECT, JMF_HASH_MAP, JMF_HASH_SET, JMF_INTEGER, JMF_INTEGER_OBJECT, JMF_LONG, JMF_LONG_OBJECT, JMF_NULL, JMF_OBJECT, JMF_OBJECT_END, JMF_SHORT, JMF_SHORT_OBJECT, JMF_SQL_DATE, JMF_SQL_TIME, JMF_SQL_TIMESTAMP, JMF_STRING, JMF_X011_1100, JMF_X011_1101, JMF_X011_1110, JMF_X011_1111, JMF_XX01_1110, JMF_XX01_1111, JMF_XXX0_1101, JMF_XXX0_1110, JMF_XXX0_1111, JMF_XXXX_0111, UTF8| Constructor and Description |
|---|
StringCodecImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
decode(InputContext ctx,
int parameterizedJmfType) |
protected String |
decodeUUID(InputContext ctx,
int parameterizedJmfType) |
void |
dump(DumpContext ctx,
int parameterizedJmfType) |
void |
encode(OutputContext ctx,
String v) |
protected void |
encodeUUID(OutputContext ctx,
String v,
int caseFlag) |
Class<?> |
getObjectClass() |
int |
getObjectType() |
protected int |
isUUID(String v) |
intComponents, readIntData, readString, readString, writeIntData, writeStringescape, escape, escape, newBadTypeJMFEncodingExceptionprotected static final int UUID_FLAG
protected static final int UUID_UPPERCASE_FLAG
protected static final char[] LOWER_HEX
protected static final char[] UPPER_HEX
protected static final int[] HEX_INDICES
public StringCodecImpl()
public int getObjectType()
getObjectType in interface StandardCodec<String>public Class<?> getObjectClass()
getObjectClass in interface BijectiveCodec<String>public void encode(OutputContext ctx, String v) throws IOException
encode in interface StandardCodec<String>encode in interface StringCodecIOExceptionpublic String decode(InputContext ctx, int parameterizedJmfType) throws IOException
decode in interface StandardCodec<String>decode in interface StringCodecIOExceptionpublic void dump(DumpContext ctx, int parameterizedJmfType) throws IOException
dump in interface StandardCodec<String>IOExceptionprotected void encodeUUID(OutputContext ctx, String v, int caseFlag) throws IOException
IOExceptionprotected String decodeUUID(InputContext ctx, int parameterizedJmfType) throws IOException
IOException