public final class VCardSaveOptions extends ContactSaveOptions
Represents vCard save options
| Constructor and Description |
|---|
VCardSaveOptions()
Initializes a new instance of the
VCardSaveOptions class |
VCardSaveOptions(int version)
Initializes a new instance of the
VCardSaveOptions class |
VCardSaveOptions(int version,
boolean useExtensions)
Initializes a new instance of the
VCardSaveOptions class |
| Modifier and Type | Method and Description |
|---|---|
static VCardSaveOptions |
getDefault()
Gets default
VCardSaveOptions |
Charset |
getPreferredTextEncoding()
Gets or sets Encoding that will be used to save Contact.
|
boolean |
getUseExtensions()
Gets or sets a value indicating whether the extended types can be used
|
void |
setPreferredTextEncoding(Charset value)
Gets or sets Encoding that will be used to save Contact.
|
void |
setUseExtensions(boolean value)
Gets or sets a value indicating whether the extended types can be used
|
getSaveFormat, getVersion, setVersionpublic VCardSaveOptions()
Initializes a new instance of the VCardSaveOptions class
public VCardSaveOptions(int version,
boolean useExtensions)
Initializes a new instance of the VCardSaveOptions class
version - a vCard versionuseExtensions - indicates whether extended types can be used.ArgumentException - A version is not defined in VCardVersionpublic VCardSaveOptions(int version)
Initializes a new instance of the VCardSaveOptions class
version - a vCard versionArgumentException - A version is not defined in VCardVersionpublic final boolean getUseExtensions()
Gets or sets a value indicating whether the extended types can be used
public final void setUseExtensions(boolean value)
Gets or sets a value indicating whether the extended types can be used
public final Charset getPreferredTextEncoding()
Gets or sets Encoding that will be used to save Contact.
public final void setPreferredTextEncoding(Charset value)
Gets or sets Encoding that will be used to save Contact.
public static VCardSaveOptions getDefault()
Gets default VCardSaveOptions
Copyright (c) 2008-2024 Aspose Pty Ltd. All Rights Reserved.