com.aspose.network
Class VCardSaveOptions

java.lang.Object
  extended by com.aspose.network.ContactSaveOptions
      extended by com.aspose.network.VCardSaveOptions

public final class VCardSaveOptions
extends ContactSaveOptions

Represents vCard save options


Constructor Summary
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
 
Method Summary
static VCardSaveOptions 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(boolean value)
           
 void setVersion(int value)
           
 
Methods inherited from class com.aspose.network.ContactSaveOptions
getSaveFormat
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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:
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:
ArgumentException - A version is not defined in VCardVersion
Method Detail

getVersion

public int getVersion()

Gets or sets a vCard version

Throws:
ArgumentException - 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



Copyright (c) 2002-2011 Aspose Pty Ltd. All Rights Reserved.