com.openexchange.mail.mime
Class TNEFBodyPart

java.lang.Object
  extended by javax.mail.BodyPart
      extended by javax.mail.internet.MimeBodyPart
          extended by net.freeutils.tnef.mime.TNEFMimeBodyPart
              extended by com.openexchange.mail.mime.TNEFBodyPart
All Implemented Interfaces:
javax.mail.internet.MimePart, javax.mail.Part

public class TNEFBodyPart
extends net.freeutils.tnef.mime.TNEFMimeBodyPart

TNEFBodyPart - A simple class that extends TNEFMimeBodyPart by a setter method for part's size

Author:
Thorben Betten

Field Summary
 
Fields inherited from interface javax.mail.Part
ATTACHMENT, INLINE
 
Constructor Summary
TNEFBodyPart()
          Default constructor
 
Method Summary
 int getSize()
           
 void setSize(int size)
          Sets this part's size
 
Methods inherited from class net.freeutils.tnef.mime.TNEFMimeBodyPart
getTNEFAttributes, setTNEFAttributes
 
Methods inherited from class javax.mail.internet.MimeBodyPart
addHeader, addHeaderLine, attachFile, attachFile, getAllHeaderLines, getAllHeaders, getContent, getContentID, getContentLanguage, getContentMD5, getContentType, getDataHandler, getDescription, getDisposition, getEncoding, getFileName, getHeader, getHeader, getInputStream, getLineCount, getMatchingHeaderLines, getMatchingHeaders, getNonMatchingHeaderLines, getNonMatchingHeaders, getRawInputStream, isMimeType, removeHeader, saveFile, saveFile, setContent, setContent, setContentID, setContentLanguage, setContentMD5, setDataHandler, setDescription, setDescription, setDisposition, setFileName, setHeader, setText, setText, setText, writeTo
 
Methods inherited from class javax.mail.BodyPart
getParent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TNEFBodyPart

public TNEFBodyPart()
Default constructor

Method Detail

setSize

public void setSize(int size)
Sets this part's size

Parameters:
size - The size in bytes

getSize

public int getSize()
Specified by:
getSize in interface javax.mail.Part
Overrides:
getSize in class javax.mail.internet.MimeBodyPart