
**Inheritance:**
java.lang.Object, [com.aspose.email.ContactSaveOptions](../../com.aspose.email/contactsaveoptions)
```
public final class VCardSaveOptions extends ContactSaveOptions
```

Represents vCard save options
## Constructors

| Constructor | Description |
| --- | --- |
| [VCardSaveOptions()](#VCardSaveOptions--) | Initializes a new instance of the [VCardSaveOptions](../../com.aspose.email/vcardsaveoptions) class |
| [VCardSaveOptions(int version, boolean useExtensions)](#VCardSaveOptions-int-boolean-) | Initializes a new instance of the [VCardSaveOptions](../../com.aspose.email/vcardsaveoptions) class |
| [VCardSaveOptions(int version)](#VCardSaveOptions-int-) | Initializes a new instance of the [VCardSaveOptions](../../com.aspose.email/vcardsaveoptions) class |
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [getDefault()](#getDefault--) | Gets default [VCardSaveOptions](../../com.aspose.email/vcardsaveoptions) |
| [getPreferredTextEncoding()](#getPreferredTextEncoding--) | Gets or sets Encoding that will be used to save Contact. |
| [getSaveFormat()](#getSaveFormat--) | Gets a save format |
| [getUseExtensions()](#getUseExtensions--) | Gets or sets a value indicating whether the extended types can be used |
| [getVersion()](#getVersion--) | Gets or sets a vCard version This property is meaningful if ContactSaveFormat is set to VCard. |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setPreferredTextEncoding(Charset value)](#setPreferredTextEncoding-java.nio.charset.Charset-) | Gets or sets Encoding that will be used to save Contact. |
| [setUseExtensions(boolean value)](#setUseExtensions-boolean-) | Gets or sets a value indicating whether the extended types can be used |
| [setVersion(int value)](#setVersion-int-) | Gets or sets a vCard version This property is meaningful if ContactSaveFormat is set to VCard. |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### VCardSaveOptions() {#VCardSaveOptions--}
```
public VCardSaveOptions()
```


Initializes a new instance of the [VCardSaveOptions](../../com.aspose.email/vcardsaveoptions) class

### VCardSaveOptions(int version, boolean useExtensions) {#VCardSaveOptions-int-boolean-}
```
public VCardSaveOptions(int version, boolean useExtensions)
```


Initializes a new instance of the [VCardSaveOptions](../../com.aspose.email/vcardsaveoptions) class

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| version | int | a vCard version |
| useExtensions | boolean | indicates whether extended types can be used. |

### VCardSaveOptions(int version) {#VCardSaveOptions-int-}
```
public VCardSaveOptions(int version)
```


Initializes a new instance of the [VCardSaveOptions](../../com.aspose.email/vcardsaveoptions) class

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| version | int | a vCard version |

### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getDefault() {#getDefault--}
```
public static VCardSaveOptions getDefault()
```


Gets default [VCardSaveOptions](../../com.aspose.email/vcardsaveoptions)

**Returns:**
[VCardSaveOptions](../../com.aspose.email/vcardsaveoptions)
### getPreferredTextEncoding() {#getPreferredTextEncoding--}
```
public final Charset getPreferredTextEncoding()
```


Gets or sets Encoding that will be used to save Contact.

**Returns:**
java.nio.charset.Charset
### getSaveFormat() {#getSaveFormat--}
```
public final int getSaveFormat()
```


Gets a save format

**Returns:**
int
### getUseExtensions() {#getUseExtensions--}
```
public final boolean getUseExtensions()
```


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

**Returns:**
boolean
### getVersion() {#getVersion--}
```
public final int getVersion()
```


Gets or sets a vCard version This property is meaningful if ContactSaveFormat is set to VCard.

**Returns:**
int
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### setPreferredTextEncoding(Charset value) {#setPreferredTextEncoding-java.nio.charset.Charset-}
```
public final void setPreferredTextEncoding(Charset value)
```


Gets or sets Encoding that will be used to save Contact.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.nio.charset.Charset |  |

### setUseExtensions(boolean value) {#setUseExtensions-boolean-}
```
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 |  |

### setVersion(int value) {#setVersion-int-}
```
public final void setVersion(int value)
```


Gets or sets a vCard version This property is meaningful if ContactSaveFormat is set to VCard.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

