org.apache.axis2.attachments
Interface Part

All Known Implementing Classes:
PartOnFile, PartOnMemory

public interface Part


Method Summary
 java.util.Enumeration getAllHeaders()
           
 java.lang.String getContentID()
           
 java.lang.String getContentType()
           
 DataHandler getDataHandler()
           
 java.lang.String getFileName()
           
 java.lang.String getHeader(java.lang.String arg0)
           
 java.io.InputStream getInputStream()
           
 int getSize()
           
 

Method Detail

getSize

public int getSize()
            throws MessagingException
Throws:
MessagingException

getContentType

public java.lang.String getContentType()
                                throws MessagingException
Throws:
MessagingException

getContentID

public java.lang.String getContentID()
                              throws MessagingException
Throws:
MessagingException

getFileName

public java.lang.String getFileName()
                             throws MessagingException
Throws:
MessagingException

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException,
                                          MessagingException
Throws:
java.io.IOException
MessagingException

getDataHandler

public DataHandler getDataHandler()
                           throws MessagingException
Throws:
MessagingException

getHeader

public java.lang.String getHeader(java.lang.String arg0)
                           throws MessagingException
Throws:
MessagingException

getAllHeaders

public java.util.Enumeration getAllHeaders()
                                    throws MessagingException
Throws:
MessagingException