|
Oracle Fusion Middleware User Messaging Service 11.1.1.1.0 Java API Reference E14011-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectoracle.sdp.messaging.MessageFactory
public abstract class MessageFactory
Factory (singleton) class to create Message objects
| Method Summary | |
|---|---|
abstract Message |
createMessage()
Create a new message. |
abstract Message |
createTextMessage(java.lang.String textContent)
Create a text message with text/plain content type. |
abstract Message |
createTextMessage(java.lang.String textContent,
java.lang.String charset)
Create a text message with text/plain content type and specified charset. |
static MessageFactory |
getInstance()
Get singleton instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public abstract Message createMessage()
public abstract Message createTextMessage(java.lang.String textContent)
throws MessagingException
textContent - the plain text content to set in the message.
MessagingException
public abstract Message createTextMessage(java.lang.String textContent,
java.lang.String charset)
throws MessagingException
textContent - the plain text content to set in the message.charset - the charset name, such as UTF-8 or US-ASCII.
charset"
set as the content type.
MessagingExceptionpublic static MessageFactory getInstance()
|
Oracle Fusion Middleware User Messaging Service 11.1.1.1.0 Java API Reference E14011-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||