public class EmailOptions extends Object
Provides options for rendering email messages.
Constructor and Description |
---|
EmailOptions()
Initializes new instance of
EmailOptions class. |
Modifier and Type | Method and Description |
---|---|
String |
getDateTimeFormat()
Time Format (can be include TimeZone)
for example: 'MM d yyyy HH:mm tt', if not set - current system format is used
|
Map<Field,String> |
getFieldTextMap()
The mapping between email message
Field and field text representation. |
PageSize |
getPageSize()
The size of the output page.
|
TimeZone |
getTimeZoneOffset()
Message time zone offset
|
void |
setDateTimeFormat(String dateTimeFormat)
Time Format (can be include TimeZone)
for example: 'MM d yyyy HH:mm tt', if not set - current system format is used
|
void |
setFieldTextMap(Map<Field,String> value)
The mapping between email message
Field and field text representation. |
void |
setPageSize(PageSize value)
The size of the output page.
|
void |
setTimeZoneOffset(TimeZone timeZoneOffset)
Message time zone offset
|
public EmailOptions()
Initializes new instance of EmailOptions
class.
public String getDateTimeFormat()
public final Map<Field,String> getFieldTextMap()
The mapping between email message Field
and field text representation.
public final PageSize getPageSize()
The size of the output page.
public TimeZone getTimeZoneOffset()
public void setDateTimeFormat(String dateTimeFormat)
public final void setFieldTextMap(Map<Field,String> value)
The mapping between email message Field
and field text representation.
public final void setPageSize(PageSize value)
The size of the output page.
value
- The size of the output page.public void setTimeZoneOffset(TimeZone timeZoneOffset)