org.apache.axiom.attachments
Interface Part
- All Known Implementing Classes:
- PartOnFile, PartOnMemory
- public interface Part
getSize
public int getSize()
throws javax.mail.MessagingException
- Throws:
javax.mail.MessagingException
getContentType
public java.lang.String getContentType()
throws javax.mail.MessagingException
- Throws:
javax.mail.MessagingException
getContentID
public java.lang.String getContentID()
throws javax.mail.MessagingException
- Throws:
javax.mail.MessagingException
getFileName
public java.lang.String getFileName()
throws javax.mail.MessagingException
- Throws:
javax.mail.MessagingException
getInputStream
public java.io.InputStream getInputStream()
throws java.io.IOException,
javax.mail.MessagingException
- Throws:
java.io.IOException
javax.mail.MessagingException
getDataHandler
public javax.activation.DataHandler getDataHandler()
throws javax.mail.MessagingException
- Throws:
javax.mail.MessagingException
addHeader
public void addHeader(java.lang.String arg0,
java.lang.String arg1)
throws javax.mail.MessagingException
- Throws:
javax.mail.MessagingException
getHeader
public java.lang.String getHeader(java.lang.String arg0)
throws javax.mail.MessagingException
- Throws:
javax.mail.MessagingException
getAllHeaders
public java.util.Enumeration getAllHeaders()
throws javax.mail.MessagingException
- Throws:
javax.mail.MessagingException
Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.