i2p.susi.webmail.encoding
Class SevenBit

java.lang.Object
  extended by i2p.susi.webmail.encoding.SevenBit
All Implemented Interfaces:
Encoding

public class SevenBit
extends java.lang.Object
implements Encoding

Author:
susi

Constructor Summary
SevenBit()
           
 
Method Summary
 ReadBuffer decode(byte[] in)
           
 ReadBuffer decode(byte[] in, int offset, int length)
           
 ReadBuffer decode(ReadBuffer in)
           
 ReadBuffer decode(java.lang.String str)
           
 java.lang.String encode(byte[] in)
           
 java.lang.String encode(java.lang.String str)
           
 java.lang.String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SevenBit

public SevenBit()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface Encoding

encode

public java.lang.String encode(byte[] in)
Specified by:
encode in interface Encoding
Returns:

encode

public java.lang.String encode(java.lang.String str)
Specified by:
encode in interface Encoding
Returns:

decode

public ReadBuffer decode(byte[] in)
                  throws DecodingException
Specified by:
decode in interface Encoding
Returns:
Throws:
DecodingException

decode

public ReadBuffer decode(byte[] in,
                         int offset,
                         int length)
                  throws DecodingException
Specified by:
decode in interface Encoding
Returns:
Throws:
DecodingException

decode

public ReadBuffer decode(java.lang.String str)
                  throws DecodingException
Specified by:
decode in interface Encoding
Returns:
Throws:
DecodingException

decode

public ReadBuffer decode(ReadBuffer in)
                  throws DecodingException
Specified by:
decode in interface Encoding
Returns:
Throws:
DecodingException