|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A standard interface that all codecs must implement. A codec is an object that converts Vectors of DataPacekts to a string The content of the String will depend on the codec used. This string representation can then be send over a HTTP connection.
Method Summary | |
java.util.Vector |
decode(java.lang.String encoded)
This method decodes an encoded String to a Vector of DataPackets. |
java.lang.String |
encode(java.util.Vector data)
This method encodes a Vector of DataPackets as a string. |
java.lang.String |
getName()
This method gets the name of the codec. |
Method Detail |
public java.util.Vector decode(java.lang.String encoded)
encoded
- an encoded stringpublic java.lang.String encode(java.util.Vector data)
public java.lang.String getName()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |