org.granite.messaging.jmf.codec.std.impl
Class AbstractIntegerStringCodec<T>
java.lang.Object
org.granite.messaging.jmf.codec.std.impl.AbstractStandardCodec<T>
org.granite.messaging.jmf.codec.std.impl.AbstractIntegerStringCodec<T>
- All Implemented Interfaces:
- StandardCodec<T>, JMFConstants
- Direct Known Subclasses:
- ArrayCodecImpl, ArrayListCodecImpl, BigDecimalCodecImpl, BigIntegerCodecImpl, ClassCodecImpl, EnumCodecImpl, HashMapCodecImpl, HashSetCodecImpl, IntegerCodecImpl, ObjectCodecImpl, StringCodecImpl
public abstract class AbstractIntegerStringCodec<T>
- extends AbstractStandardCodec<T>
- Author:
- Franck WOLFF
| Fields inherited from interface org.granite.messaging.jmf.JMFConstants |
CLIENT_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_1110, JMF_XXX0_1111, JMF_XXXX_0110, JMF_XXXX_0111, UTF8 |
|
Method Summary |
protected AbstractIntegerStringCodec.IntegerComponents |
intComponents(int v)
|
protected int |
readIntData(InputContext ctx,
int length,
boolean opposite)
|
protected String |
readString(InputContext ctx,
int parameterizedJmfType,
AbstractIntegerStringCodec.StringTypeHandler handler)
|
protected String |
readString(InputContext ctx,
int parameterizedJmfType,
int indexOrLength,
AbstractIntegerStringCodec.StringTypeHandler handler)
|
protected void |
writeIntData(OutputContext ctx,
AbstractIntegerStringCodec.IntegerComponents ics)
|
protected void |
writeString(OutputContext ctx,
String v,
AbstractIntegerStringCodec.StringTypeHandler handler)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JMF_STRING_TYPE_HANDLER
protected static final AbstractIntegerStringCodec.StringTypeHandler JMF_STRING_TYPE_HANDLER
AbstractIntegerStringCodec
public AbstractIntegerStringCodec()
writeIntData
protected void writeIntData(OutputContext ctx,
AbstractIntegerStringCodec.IntegerComponents ics)
throws IOException
- Throws:
IOException
readIntData
protected int readIntData(InputContext ctx,
int length,
boolean opposite)
throws IOException
- Throws:
IOException
intComponents
protected AbstractIntegerStringCodec.IntegerComponents intComponents(int v)
writeString
protected void writeString(OutputContext ctx,
String v,
AbstractIntegerStringCodec.StringTypeHandler handler)
throws IOException
- Throws:
IOException
readString
protected String readString(InputContext ctx,
int parameterizedJmfType,
AbstractIntegerStringCodec.StringTypeHandler handler)
throws IOException
- Throws:
IOException
readString
protected String readString(InputContext ctx,
int parameterizedJmfType,
int indexOrLength,
AbstractIntegerStringCodec.StringTypeHandler handler)
throws IOException
- Throws:
IOException