public class MailContentType
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static MailContentType |
TEXT_HTML
The text/html email content type.
|
static MailContentType |
TEXT_PLAIN
The text/plain email content type.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final MailContentType TEXT_HTML
public static final MailContentType TEXT_PLAIN
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.Object
java.lang.CloneNotSupportedException
- If an error occurs.© 2000-2025 Flux Corporation. All rights reserved.