|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthr.tis.mgw.client.message.MmsPart
Part of MmsMessage. Every MmsPart have content, type and optionally id and location used to uniquely identify it inside one MmsMessage. MmsPart can be constructed from text or binary content.
| Constructor Summary | |
MmsPart(byte[] bytes,
java.lang.String contentType)
Create MmsPart with binary content and no identification. |
|
MmsPart(byte[] bytes,
java.lang.String contentType,
java.lang.String contentId,
java.lang.String contentLocation)
Create MmsPart with binary content uniquely identified by id and location. |
|
MmsPart(java.lang.String text)
Create MmsPart with text content and no identification. |
|
MmsPart(java.lang.String text,
java.lang.String contentId,
java.lang.String contentLocation)
Create MmsPart with text content uniquely identified by id and location. |
|
| Method Summary | |
byte[] |
getBytes()
Return content as array of bytes. |
java.lang.String |
getContentId()
Return content id. |
java.lang.String |
getContentLocation()
Return content location. |
java.lang.String |
getContentType()
Return conent type. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MmsPart(java.lang.String text)
text - Text content
public MmsPart(java.lang.String text,
java.lang.String contentId,
java.lang.String contentLocation)
text - Text contentcontentId - Content IdcontentLocation - Content Location
public MmsPart(byte[] bytes,
java.lang.String contentType)
bytes - Binary contentcontentType - Content Type
public MmsPart(byte[] bytes,
java.lang.String contentType,
java.lang.String contentId,
java.lang.String contentLocation)
bytes - Binary contentcontentType - Content TypecontentId - Content IdcontentLocation - Content Location| Method Detail |
public byte[] getBytes()
public java.lang.String getContentId()
public java.lang.String getContentLocation()
public java.lang.String getContentType()
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||