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