com.aspose.email

com.aspose.email

Class VCardSaveOptions

public final class VCardSaveOptions
extends ContactSaveOptions

Represents vCard save options

Constructor Summary
VCardSaveOptions()
Initializes a new instance of the VCardSaveOptions class
VCardSaveOptions(intversion)
Initializes a new instance of the VCardSaveOptions class
VCardSaveOptions(intversion, booleanuseExtensions)
Initializes a new instance of the VCardSaveOptions class
 
Method Summary
getDefault()
Gets default VCardSaveOptions
boolean
getUseExtensions()
Gets or sets a value indicating whether the extended types can be used
int
getVersion()
Gets or sets a vCard version
void
setUseExtensions(booleanvalue)
void
setVersion(intvalue)
 
Methods inherited from class com.aspose.email.ContactSaveOptions
 
Methods inherited from class java.lang.Object
 

    • Constructor Detail

      • VCardSaveOptions

        public VCardSaveOptions()

        Initializes a new instance of the VCardSaveOptions class

      • VCardSaveOptions

        public VCardSaveOptions(int version,
                                boolean useExtensions)

        Initializes a new instance of the VCardSaveOptions class

        Parameters:
        version - a vCard version
        useExtensions - indicates whether extended types can be used.
        Throws:
        com.aspose.email.ms.System.IllegalArgumentException - A version is not defined in VCardVersion
      • VCardSaveOptions

        public VCardSaveOptions(int version)

        Initializes a new instance of the VCardSaveOptions class

        Parameters:
        version - a vCard version
        Throws:
        com.aspose.email.ms.System.IllegalArgumentException - A version is not defined in VCardVersion
    • Method Detail

      • getVersion

        public int getVersion()

        Gets or sets a vCard version

        Throws:
        com.aspose.email.ms.System.IllegalArgumentException - A value is not defined in VCardVersion
      • setVersion

        public void setVersion(int value)
      • getUseExtensions

        public boolean getUseExtensions()

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

      • setUseExtensions

        public void setUseExtensions(boolean value)
      • getDefault

        public static VCardSaveOptions getDefault()

        Gets default VCardSaveOptions