org.demac.impl.j2me.transport.protocol
Class ByteCoder

java.lang.Object
  extended by org.demac.impl.j2me.transport.protocol.ByteCoder
Direct Known Subclasses:
BASE64ByteCoder, ZipByteCoder

public abstract class ByteCoder
extends java.lang.Object


Constructor Summary
ByteCoder()
           
ByteCoder(ByteCoder coder)
           
 
Method Summary
 byte[] decode(byte[] code)
           
 byte[] encode(byte[] msg)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteCoder

public ByteCoder()

ByteCoder

public ByteCoder(ByteCoder coder)
Method Detail

encode

public byte[] encode(byte[] msg)
              throws EncodingException
Throws:
EncodingException

decode

public byte[] decode(byte[] code)
              throws EncodingException
Throws:
EncodingException