i2p.susi.webmail.encoding
Class HeaderLine

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

public class HeaderLine
extends java.lang.Object
implements Encoding

Author:
susi

Field Summary
static java.lang.String NAME
           
 
Constructor Summary
HeaderLine()
           
 
Method Summary
 ReadBuffer decode(byte[] in)
           
 ReadBuffer decode(byte[] in, int offset, int length)
           
 ReadBuffer decode(ReadBuffer in)
           
 ReadBuffer decode(java.lang.String text)
           
 java.lang.String encode(byte[] in)
           
 java.lang.String encode(java.lang.String text)
           
 java.lang.String getName()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values
Constructor Detail

HeaderLine

public HeaderLine()
Method Detail

getName

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

encode

public java.lang.String encode(java.lang.String text)
                        throws EncodingException
Specified by:
encode in interface Encoding
Returns:
Throws:
EncodingException

encode

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

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 text)
                  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

main

public static void main(java.lang.String[] args)
                 throws EncodingException
Throws:
EncodingException