|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflux.notification.MailContentType
public class MailContentType
An enumeration of supported email content types.
| Field Summary | |
|---|---|
static MailContentType |
TEXT_HTML
The text/html email content type. |
static MailContentType |
TEXT_PLAIN
The text/plain email content type. |
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Since MailContentType is an immutable enumeration, returns this instance of MailContentType. |
static MailContentType |
getInstance(java.lang.String enumeration)
Returns a pre-existing instance of this enumeration from the specified name. |
java.lang.String |
toString()
Returns the name of the specific email content type enumeration item. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final MailContentType TEXT_HTML
public static final MailContentType TEXT_PLAIN
| Method Detail |
|---|
public static MailContentType getInstance(java.lang.String enumeration)
enumeration - The name of a pre-existing instance of this
enumeration.
java.lang.IllegalArgumentException - If the name of the specified enumeration
instance does not exist.public java.lang.String toString()
toString in class java.lang.Object
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedException - If an error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||