|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bankframe.ei.channel.codec.JOTPCodec
This class converts Vectors of DataPackets to a hexadecimal string representation. This is string representaion can be used to transport the DataPacket over a typical HTTP connection.
Constructor Summary | |
JOTPCodec()
Default Constructor |
Method Summary | |
java.util.Vector |
decode(java.lang.String hexString)
This method decodes an encoded string to a vector of DataPackets |
java.lang.String |
encode(java.util.Vector ser)
This method encodes a Vector of DataPackets as a string. |
java.lang.String |
getName()
Return the name of this codec. |
java.io.Serializable |
hexToSerializable(java.lang.String hexString)
|
java.lang.String |
serializableToHex(java.io.Serializable ser)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JOTPCodec()
Method Detail |
public java.util.Vector decode(java.lang.String hexString)
decode
in interface Codec
hexString
- the encoded string
public java.lang.String encode(java.util.Vector ser)
Codec
encode
in interface Codec
public java.lang.String getName()
getName
in interface Codec
public java.io.Serializable hexToSerializable(java.lang.String hexString) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public java.lang.String serializableToHex(java.io.Serializable ser) throws java.io.IOException
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |