org.apache.axis2.attachments
Interface Part

All Known Implementing Classes:
PartOnFile, PartOnMemory

public interface Part


Method Summary
 Enumeration getAllHeaders()
           
 String getContentID()
           
 String getContentType()
           
 javax.activation.DataHandler getDataHandler()
           
 String getFileName()
           
 String getHeader(String arg0)
           
 InputStream getInputStream()
           
 int getSize()
           
 

Method Detail

getSize

public int getSize()
            throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

getContentType

public String getContentType()
                      throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

getContentID

public String getContentID()
                    throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

getFileName

public String getFileName()
                   throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

getInputStream

public InputStream getInputStream()
                           throws IOException,
                                  javax.mail.MessagingException
Throws:
IOException
javax.mail.MessagingException

getDataHandler

public javax.activation.DataHandler getDataHandler()
                                            throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

getHeader

public String getHeader(String arg0)
                 throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

getAllHeaders

public Enumeration getAllHeaders()
                          throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException