| 
 | Oracle Fusion Middleware Infrastructure Management Java API Reference for Oracle SOA Suite 11g Release 1 (11.1.1.7) E10659-10 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Attachment
Message attachment
| Method Summary | |
|---|---|
|  byte[] | getAsByteArray()Gets the attachment contents as a byte array | 
|  java.lang.String | getContentID()Gets the content identifier associated with the attachment | 
|  java.lang.String | getContentType()Gets the attachment content type | 
|  java.io.InputStream | getInputStream()Gets the attachment contents as an input stream | 
|  java.lang.String | getPartName()Gets the MIME part name for the attachment | 
|  int | getSize()Gets the attachment contents size, measured in number of bytes | 
|  java.lang.String | getTransferEncoding()Gets the transfer encoding for the attachment | 
|  void | setContentID(java.lang.String contentId)Sets the content identifier associated with the attachment | 
|  void | setContentType(java.lang.String contentType)Sets the attachment content type | 
|  void | setPartName(java.lang.String name)Sets the MIME part name for the attachment | 
|  void | setTransferEncoding(java.lang.String encoding)Sets the transfer encoding for the attachment | 
| Method Detail | 
|---|
java.lang.String getContentID()
void setContentID(java.lang.String contentId)
contentId - the content identifierjava.lang.String getContentType()
void setContentType(java.lang.String contentType)
contentType - the content type
java.io.InputStream getInputStream()
                                   throws java.io.IOException
java.io.IOException
byte[] getAsByteArray()
                      throws java.io.IOException
java.io.IOException
int getSize()
            throws java.io.IOException
java.io.IOExceptionvoid setTransferEncoding(java.lang.String encoding)
encoding - A valid transfer encoding, complying to those values defined by http://www.iana.org/assignments/transfer-encodings/java.lang.String getTransferEncoding()
void setPartName(java.lang.String name)
name - the part namejava.lang.String getPartName()
| 
 | Oracle Fusion Middleware Infrastructure Management Java API Reference for Oracle SOA Suite 11g Release 1 (11.1.1.7) E10659-10 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||