|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Part
Abstract for Part. A Part can be the SOAP Part or an Attachment Part. There are several implementations for part, which are optimized for space and time. A Part is created with the PartFactory.
PartFactory
Method Summary | |
---|---|
void |
addHeader(String name,
String value)
Add a Header (name, value) to the part |
Enumeration |
getAllHeaders()
|
String |
getContentID()
|
String |
getContentType()
|
DataHandler |
getDataHandler()
|
String |
getFileName()
Deprecated. The callers should not no how the part is implemented. |
String |
getHeader(String name)
Get the value of a specific header |
InputStream |
getInputStream()
|
long |
getSize()
|
Method Detail |
---|
DataHandler getDataHandler() throws MessagingException
MessagingException
long getSize() throws MessagingException
MessagingException
String getContentType() throws MessagingException
MessagingException
String getContentID() throws MessagingException
MessagingException
String getFileName() throws MessagingException
MessagingException
InputStream getInputStream() throws IOException, MessagingException
IOException
MessagingException
void addHeader(String name, String value) throws MessagingException
name
- value
-
MessagingException
String getHeader(String name) throws MessagingException
name
-
MessagingException
Enumeration getAllHeaders() throws MessagingException
MessagingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |