com.funambol.email.items.model
Class InternalPart

java.lang.Object
  extended bycom.funambol.email.items.model.InternalPart

public class InternalPart
extends java.lang.Object


Constructor Summary
InternalPart(java.lang.Object _partvalue, java.lang.String _contenttype, java.lang.String _disposition, java.lang.String _filename, javax.activation.DataHandler _datahandler, boolean _isbody, int _size)
           
 
Method Summary
 java.lang.String getContentType()
          Returns the contentType of the Message
 javax.activation.DataHandler getDataHandler()
          Returns the datahandler of the Part
 java.lang.String getDisposition()
          Returns the disposition of the Part
 java.lang.String getFileName()
          Returns the filename of the Attachment
 java.lang.Object getPartValue()
          Returns the partvalue of the Message
 int getSize()
          Returns the size of this Body
 boolean isBody()
          Returns the flag to stop the MultiPart loop
 void setContentType(java.lang.String _contenttype)
           
 void setDataHandler(javax.activation.DataHandler _datahandler)
           
 void setDisposition(java.lang.String _disposition)
           
 void setFileName(java.lang.String _filename)
           
 void setIsBody(boolean _isbody)
           
 void setPartValue(java.lang.Object _partvalue)
           
 void setSize(int _size)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InternalPart

public InternalPart(java.lang.Object _partvalue,
                    java.lang.String _contenttype,
                    java.lang.String _disposition,
                    java.lang.String _filename,
                    javax.activation.DataHandler _datahandler,
                    boolean _isbody,
                    int _size)
Method Detail

getPartValue

public java.lang.Object getPartValue()
Returns the partvalue of the Message

Returns:
the partvalue of the Message

getContentType

public java.lang.String getContentType()
Returns the contentType of the Message

Returns:
the contentType of the Message

getDisposition

public java.lang.String getDisposition()
Returns the disposition of the Part

Returns:
the disposition of the Part

getFileName

public java.lang.String getFileName()
Returns the filename of the Attachment

Returns:
the filename of the Attachment

getDataHandler

public javax.activation.DataHandler getDataHandler()
Returns the datahandler of the Part

Returns:
the datahandler of the Part

isBody

public boolean isBody()
Returns the flag to stop the MultiPart loop

Returns:
the flag

getSize

public int getSize()
Returns the size of this Body

Returns:
the size of this Body

setPartValue

public void setPartValue(java.lang.Object _partvalue)

setContentType

public void setContentType(java.lang.String _contenttype)

setDisposition

public void setDisposition(java.lang.String _disposition)

setFileName

public void setFileName(java.lang.String _filename)

setDataHandler

public void setDataHandler(javax.activation.DataHandler _datahandler)

setIsBody

public void setIsBody(boolean _isbody)

setSize

public void setSize(int _size)


Copyright © 2003-2006 Funambol.