com.funambol.email.model
Class InternalPart

java.lang.Object
  extended by com.funambol.email.model.InternalPart

public class InternalPart
extends java.lang.Object


Constructor Summary
InternalPart()
           
InternalPart(java.lang.Object _partvalue, java.lang.String _contenttype, java.lang.String _disposition, java.lang.String _filename, javax.activation.DataHandler _dhandler, boolean _isTextBody, boolean _isHtmlBody, boolean _isTextCalendar, int _size)
           
 
Method Summary
 void cloneIP(InternalPart _ip)
           
 java.lang.String getContentType()
          Returns the contentType of the Message
 javax.activation.DataHandler getDHandler()
          Returns the dhandler 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 isHtmlBody()
           
 boolean isTextBody()
           
 boolean isTextCalendar()
           
 void setContentType(java.lang.String _contenttype)
           
 void setDHandler(javax.activation.DataHandler _dhandler)
           
 void setDisposition(java.lang.String _disposition)
           
 void setFileName(java.lang.String _filename)
           
 void setIsHtmlBody(boolean _isHtmlBody)
           
 void setIsTextBody(boolean _isTextBody)
           
 void setIsTextCalendar(boolean _isTextCalendar)
           
 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()

InternalPart

public InternalPart(java.lang.Object _partvalue,
                    java.lang.String _contenttype,
                    java.lang.String _disposition,
                    java.lang.String _filename,
                    javax.activation.DataHandler _dhandler,
                    boolean _isTextBody,
                    boolean _isHtmlBody,
                    boolean _isTextCalendar,
                    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

getDHandler

public javax.activation.DataHandler getDHandler()
Returns the dhandler of the Part

Returns:
the dhandler of the Part

isTextBody

public boolean isTextBody()
Returns:
the flag

isHtmlBody

public boolean isHtmlBody()
Returns:
the flag

isTextCalendar

public boolean isTextCalendar()
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)

setDHandler

public void setDHandler(javax.activation.DataHandler _dhandler)

setIsTextBody

public void setIsTextBody(boolean _isTextBody)

setIsHtmlBody

public void setIsHtmlBody(boolean _isHtmlBody)

setIsTextCalendar

public void setIsTextCalendar(boolean _isTextCalendar)

setSize

public void setSize(int _size)

cloneIP

public void cloneIP(InternalPart _ip)


Copyright © 2005-2006 Funambol.