public class EntityCodec extends Object implements ExtendedObjectCodec
| Constructor and Description |
|---|
EntityCodec() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDecode(ExtendedObjectInput in,
String className) |
boolean |
canEncode(ExtendedObjectOutput out,
Object v) |
void |
decode(ExtendedObjectInput in,
Object v) |
void |
encode(ExtendedObjectOutput out,
Object v) |
protected Class<?> |
getClass(ExtendedObjectOutput out,
Object v) |
String |
getDecodedClassName(ExtendedObjectInput in,
String className) |
String |
getEncodedClassName(ExtendedObjectOutput out,
Object v) |
Object |
newInstance(ExtendedObjectInput in,
String className) |
public EntityCodec()
public boolean canEncode(ExtendedObjectOutput out, Object v)
canEncode in interface ExtendedObjectCodecpublic String getEncodedClassName(ExtendedObjectOutput out, Object v)
getEncodedClassName in interface ExtendedObjectCodecpublic void encode(ExtendedObjectOutput out, Object v) throws IOException, IllegalAccessException, InvocationTargetException
encode in interface ExtendedObjectCodecIOExceptionIllegalAccessExceptionInvocationTargetExceptionpublic boolean canDecode(ExtendedObjectInput in, String className) throws ClassNotFoundException
canDecode in interface ExtendedObjectCodecClassNotFoundExceptionpublic String getDecodedClassName(ExtendedObjectInput in, String className)
getDecodedClassName in interface ExtendedObjectCodecpublic Object newInstance(ExtendedObjectInput in, String className) throws IOException, ClassNotFoundException, InstantiationException, IllegalAccessException, InvocationTargetException, SecurityException, NoSuchMethodException, IOException
newInstance in interface ExtendedObjectCodecIOExceptionClassNotFoundExceptionInstantiationExceptionIllegalAccessExceptionInvocationTargetExceptionSecurityExceptionNoSuchMethodExceptionpublic void decode(ExtendedObjectInput in, Object v) throws IOException, ClassNotFoundException, IllegalAccessException, InvocationTargetException
decode in interface ExtendedObjectCodecIOExceptionClassNotFoundExceptionIllegalAccessExceptionInvocationTargetExceptionprotected Class<?> getClass(ExtendedObjectOutput out, Object v)