com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class VCardSaveOptions



  • public final class VCardSaveOptions
    extends ContactSaveOptions

    Represents vCard save options

    • 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.ms.System.ArgumentException - 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.ms.System.ArgumentException - A version is not defined in VCardVersion
    • Method Detail

      • getVersion

        public int getVersion()

        Gets or sets a vCard version

        Returns:
        a int.
        Throws:
        com.aspose.ms.System.ArgumentException - A value is not defined in VCardVersion
      • setVersion

        public void setVersion(int value)

        Gets or sets a vCard version

        Parameters:
        value - a int.
        Throws:
        com.aspose.ms.System.ArgumentException - A value is not defined in VCardVersion
      • getUseExtensions

        public boolean getUseExtensions()

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

        Returns:
        a boolean.
      • setUseExtensions

        public void setUseExtensions(boolean value)

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

        Parameters:
        value - a boolean.