i2p.susi.webmail
Class MailPart

java.lang.Object
  extended by i2p.susi.webmail.MailPart

 class MailPart
extends Object

Author:
susi23

Field Summary
 ReadBuffer buffer
           
 String charset
           
 String description
           
 String disposition
           
 String encoding
           
 String filename
          fixme never set
 String[] headerLines
           
 boolean message
           
 boolean multipart
           
 String name
           
 List<MailPart> parts
           
 String type
           
 String version
           
 
Constructor Summary
MailPart(ReadBuffer readBuffer)
           
MailPart(ReadBuffer readBuffer, int offset, int length)
           
 
Method Summary
 ReadBuffer decode(int offset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

headerLines

public final String[] headerLines

type

public final String type

encoding

public final String encoding

name

public final String name

description

public final String description

disposition

public final String disposition

charset

public final String charset

version

public final String version

filename

public final String filename
fixme never set


parts

public final List<MailPart> parts

multipart

public final boolean multipart

message

public final boolean message

buffer

public final ReadBuffer buffer
Constructor Detail

MailPart

public MailPart(ReadBuffer readBuffer)
         throws DecodingException
Throws:
DecodingException

MailPart

public MailPart(ReadBuffer readBuffer,
                int offset,
                int length)
         throws DecodingException
Throws:
DecodingException
Method Detail

decode

public ReadBuffer decode(int offset)
                  throws DecodingException
Parameters:
offset - 2 for sendAttachment, 0 otherwise, don't know why
Throws:
DecodingException
Since:
0.9.13