org.apache.axis2.attachments
Class PartOnMemory
java.lang.Object
org.apache.axis2.attachments.PartOnMemory
- All Implemented Interfaces:
- Part
- public class PartOnMemory
- extends Object
- implements Part
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PartOnMemory
public PartOnMemory(InputStream partInStream)
throws javax.mail.MessagingException
getSize
public int getSize()
throws javax.mail.MessagingException
- Specified by:
getSize
in interface Part
- Throws:
javax.mail.MessagingException
getContentType
public String getContentType()
throws javax.mail.MessagingException
- Specified by:
getContentType
in interface Part
- Throws:
javax.mail.MessagingException
getFileName
public String getFileName()
throws javax.mail.MessagingException
- Specified by:
getFileName
in interface Part
- Throws:
javax.mail.MessagingException
getInputStream
public InputStream getInputStream()
throws IOException,
javax.mail.MessagingException
- Specified by:
getInputStream
in interface Part
- Throws:
IOException
javax.mail.MessagingException
getDataHandler
public javax.activation.DataHandler getDataHandler()
throws javax.mail.MessagingException
- Specified by:
getDataHandler
in interface Part
- Throws:
javax.mail.MessagingException
getHeader
public String getHeader(String arg0)
throws javax.mail.MessagingException
- Specified by:
getHeader
in interface Part
- Throws:
javax.mail.MessagingException
getAllHeaders
public Enumeration getAllHeaders()
throws javax.mail.MessagingException
- Specified by:
getAllHeaders
in interface Part
- Throws:
javax.mail.MessagingException
getContentID
public String getContentID()
throws javax.mail.MessagingException
- Specified by:
getContentID
in interface Part
- Throws:
javax.mail.MessagingException