VCardSaveOptions

Inheritance: java.lang.Object, com.aspose.email.ContactSaveOptions

public final class VCardSaveOptions extends ContactSaveOptions

Represents vCard save options

Constructors

Constructor Description
VCardSaveOptions() Initializes a new instance of the VCardSaveOptions class
VCardSaveOptions(int version, boolean useExtensions) Initializes a new instance of the VCardSaveOptions class
VCardSaveOptions(int version) Initializes a new instance of the VCardSaveOptions class

Methods

Method Description
getVersion() Gets or sets a vCard version
setVersion(int value) Gets or sets a vCard version
getUseExtensions() Gets or sets a value indicating whether the extended types can be used
setUseExtensions(boolean value) Gets or sets a value indicating whether the extended types can be used
getDefault() Gets default VCardSaveOptions

VCardSaveOptions()

public VCardSaveOptions()

Initializes a new instance of the VCardSaveOptions class

VCardSaveOptions(int version, boolean useExtensions)

public VCardSaveOptions(int version, boolean useExtensions)

Initializes a new instance of the VCardSaveOptions class

Parameters:

Parameter Type Description
version int a vCard version
useExtensions boolean indicates whether extended types can be used.

VCardSaveOptions(int version)

public VCardSaveOptions(int version)

Initializes a new instance of the VCardSaveOptions class

Parameters:

Parameter Type Description
version int a vCard version

getVersion()

public final int getVersion()

Gets or sets a vCard version

Returns: int

setVersion(int value)

public final void setVersion(int value)

Gets or sets a vCard version

Parameters:

Parameter Type Description
value int

getUseExtensions()

public final boolean getUseExtensions()

Gets or sets a value indicating whether the extended types can be used

Returns: boolean

setUseExtensions(boolean value)

public final void setUseExtensions(boolean value)

Gets or sets a value indicating whether the extended types can be used

Parameters:

Parameter Type Description
value boolean

getDefault()

public static VCardSaveOptions getDefault()

Gets default VCardSaveOptions

Returns: VCardSaveOptions