|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.panama.messaging.common.mms.MMSDocument
Field Summary | |
static java.lang.String |
MULTIPART_MIXED |
static java.lang.String |
MULTIPART_RELATED |
Constructor Summary | |
MMSDocument(java.lang.String backgroundColor) Specify the background color of the root-layout. | |
MMSDocument(java.lang.String backgroundColor, int width, int height) Specify the background color and maximum width and height (in pixels) that the document covers. |
Method Summary | |
void |
addRegion(MMSRegion region) Add a region into document. |
void |
deleteRegion(int index) delete region by index |
MMSRegion |
getRegion(int index) get region by index |
static void |
main(java.lang.String[] args) |
int |
numberOfRegions() total number of regions in current document |
Message |
toMessage() converts current document to a oracle.panama.messaging.common.Message object so that it could be processed by Push |
static Message |
toMessage(java.lang.String smilFilename, java.lang.String[] mediaFilenames) Construct Message object from SMIL file created by user and media files referenced in the SMIL file. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String MULTIPART_RELATED
public static final java.lang.String MULTIPART_MIXED
Constructor Detail |
public MMSDocument(java.lang.String backgroundColor, int width, int height)
public MMSDocument(java.lang.String backgroundColor)
Method Detail |
public void addRegion(MMSRegion region)
public int numberOfRegions()
public MMSRegion getRegion(int index)
public void deleteRegion(int index)
public static Message toMessage(java.lang.String smilFilename, java.lang.String[] mediaFilenames) throws java.io.IOException
smilFilename
- file name of SMIL file. Filename may not contain path.mediaFilenames
- file names of media files (e.g. image files, text files and voice files etc.). Filename may not contain path.java.io.IOException
public Message toMessage()
public static void main(java.lang.String[] args)
|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |