|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthr.tis.mgw.client.message.Attachment
Encapsulates MMS message attachment data.
MmsPart,
Serialized Form| Constructor Summary | |
Attachment(byte[] bytes,
java.lang.String contentType)
Deprecated. Constructor for MMS attachment given as array of bytes with apropriate MIME Content-Type. |
|
Attachment(byte[] bytes,
java.lang.String contentType,
java.lang.String contentId,
java.lang.String contentLocation)
Deprecated. Constructor for MMS attachment given as array of bytes with apropriate MIME Content-Type. |
|
Attachment(java.lang.String text,
java.lang.String charset)
Deprecated. Convenience constructor for textual attachments. |
|
Attachment(java.lang.String text,
java.lang.String charset,
java.lang.String contentId,
java.lang.String contentLocation)
Deprecated. Convenience constructor for textual attachments. |
|
| Method Summary | |
byte[] |
getBytes()
Deprecated. |
java.lang.String |
getContentId()
Deprecated. |
java.lang.String |
getContentLocation()
Deprecated. |
java.lang.String |
getContentType()
Deprecated. |
java.lang.String |
toString()
Deprecated. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Attachment(byte[] bytes,
java.lang.String contentType)
bytes - contentcontentType - Content-Type MIME header value
public Attachment(byte[] bytes,
java.lang.String contentType,
java.lang.String contentId,
java.lang.String contentLocation)
bytes - contentcontentType - Content-Type MIME header valuecontentId - Content-ID MIME header valuecontentLocation - Content-Location MIME header value
public Attachment(java.lang.String text,
java.lang.String charset)
throws java.io.UnsupportedEncodingException
text - textual contentcharset - character set
java.io.UnsupportedEncodingException - thrown if character set is invalid
public Attachment(java.lang.String text,
java.lang.String charset,
java.lang.String contentId,
java.lang.String contentLocation)
throws java.io.UnsupportedEncodingException
text - textual contentcharset - character setcontentId - Content-ID MIME header valuecontentLocation - Content-Location MIME header value
java.io.UnsupportedEncodingException - thrown if character set is invalid| Method Detail |
public byte[] getBytes()
public java.lang.String getContentType()
public java.lang.String getContentId()
public java.lang.String getContentLocation()
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||