public class MboxLoadOptions extends Object
Specifies additional options when loading a Mbox storage.
Constructor and Description |
---|
MboxLoadOptions() |
Modifier and Type | Method and Description |
---|---|
boolean |
getLeaveOpen()
Gets or sets a value indicating whether to keep the underlying stream open after disposing.
|
Charset |
getPreferredTextEncoding()
Gets or sets preferred encoding for messages.
|
void |
setLeaveOpen(boolean value)
Gets or sets a value indicating whether to keep the underlying stream open after disposing.
|
void |
setPreferredTextEncoding(Charset value)
Gets or sets preferred encoding for messages.
|
public final boolean getLeaveOpen()
Gets or sets a value indicating whether to keep the underlying stream open after disposing. Default value is false.
public final void setLeaveOpen(boolean value)
Gets or sets a value indicating whether to keep the underlying stream open after disposing. Default value is false.
public final Charset getPreferredTextEncoding()
Gets or sets preferred encoding for messages. The default value is null.
public final void setPreferredTextEncoding(Charset value)
Gets or sets preferred encoding for messages. The default value is null.