Package org.nuclos.api.mail
Class NuclosMailContentType
java.lang.Object
org.nuclos.api.mail.NuclosMailContentType
Class that represents the type of a
NuclosMail
.
This class is normally not instantiated by the rule programmer.
NuclosMail
provides constants of the class to use in rules.- Author:
- reichama
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final NuclosMailContentType
static final NuclosMailContentType
-
Constructor Summary
ConstructorsConstructorDescriptionNuclosMailContentType
(String type, String charset) Constructor with charset and type values used as defaults -
Method Summary
Modifier and TypeMethodDescriptionMethod returns the charset, e.g UTF-8 or ISO-8859-1getType()
Method returns the mail type, e.g.
-
Field Details
-
HTML
-
PLAIN
-
-
Constructor Details
-
NuclosMailContentType
Constructor with charset and type values used as defaults- Parameters:
type
- mail type, e.g. text/plain or text/htmlcharset
- charset, e.g. UTF-8 or ISO-8859-1
-
-
Method Details
-
getType
Method returns the mail type, e.g. text/plain or text/html- Returns:
- mail type of this NuclosMailContentType
-
getCharset
Method returns the charset, e.g UTF-8 or ISO-8859-1- Returns:
- charset of this NuclosMailContentType
-