|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.email.VCardContact
public final class VCardContact
Represents a vCard contact
Constructor Summary | |
---|---|
VCardContact()
Initializes a new instance of the VCardContact class |
Method Summary | |
---|---|
VCardDeliveryAddressCollection |
getDeliveryAddresses()
Gets or sets a delivery addresses |
VCardEmailCollection |
getEmails()
Gets or sets a contact's email addresses |
VCardExplanatoryInfo |
getExplanatoryInfo()
Gets or sets a vCard explanatory information |
ArrayList<String> |
getExtendedProperties()
Gets or sets an extended properties |
VCardGeo |
getGeo()
Gets or sets a global positioning |
VCardIdentificationInfo |
getIdentificationInfo()
Gets or sets an identification properties |
String |
getMailer()
Gets or sets a mailer |
VCardOrganization |
getOrganization()
Gets or sets an organization information |
VCardSecurity |
getSecurity()
Gets or sets a security properites |
VCardTelephoneNumberCollection |
getTelephoneNumbers()
Gets or sets a contact's telephone numbers |
String |
getTimeZone()
Gets or sets a timeZone |
static VCardContact |
load(InputStream stream)
|
static VCardContact |
load(InputStream stream,
Charset encoding)
|
static VCardContact |
load(String filePath)
Reads VCardContact from the specified vCard file
The supported vCard versions are 2.1 and 3.0 |
static VCardContact |
load(String filePath,
Charset encoding)
|
void |
save(OutputStream stream)
|
void |
save(OutputStream stream,
ContactSaveOptions saveOptions)
|
void |
save(OutputStream stream,
int saveFormat)
|
void |
save(String filePath)
Saves this MapiContact to the vCard file with a default options. |
void |
save(String filePath,
ContactSaveOptions saveOptions)
Saves this MapiContact into file using specified save options. |
void |
save(String filePath,
int saveFormat)
Saves this MapiContact to the specified file with a format using the default options. |
void |
setDeliveryAddresses(VCardDeliveryAddressCollection value)
|
void |
setEmails(VCardEmailCollection value)
|
void |
setExplanatoryInfo(VCardExplanatoryInfo value)
|
void |
setExtendedProperties(ArrayList<String> value)
|
void |
setGeo(VCardGeo value)
|
void |
setIdentificationInfo(VCardIdentificationInfo value)
|
void |
setMailer(String value)
|
void |
setOrganization(VCardOrganization value)
|
void |
setSecurity(VCardSecurity value)
|
void |
setTelephoneNumbers(VCardTelephoneNumberCollection value)
|
void |
setTimeZone(String value)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VCardContact()
Initializes a new instance of the VCardContact
class
Method Detail |
---|
public VCardIdentificationInfo getIdentificationInfo()
Gets or sets an identification properties
public void setIdentificationInfo(VCardIdentificationInfo value)
public VCardDeliveryAddressCollection getDeliveryAddresses()
Gets or sets a delivery addresses
public void setDeliveryAddresses(VCardDeliveryAddressCollection value)
public VCardTelephoneNumberCollection getTelephoneNumbers()
Gets or sets a contact's telephone numbers
public void setTelephoneNumbers(VCardTelephoneNumberCollection value)
public VCardEmailCollection getEmails()
Gets or sets a contact's email addresses
public void setEmails(VCardEmailCollection value)
public String getMailer()
Gets or sets a mailer
public void setMailer(String value)
public String getTimeZone()
Gets or sets a timeZone
public void setTimeZone(String value)
public VCardGeo getGeo()
Gets or sets a global positioning
public void setGeo(VCardGeo value)
public VCardOrganization getOrganization()
Gets or sets an organization information
public void setOrganization(VCardOrganization value)
public VCardExplanatoryInfo getExplanatoryInfo()
Gets or sets a vCard explanatory information
public void setExplanatoryInfo(VCardExplanatoryInfo value)
public VCardSecurity getSecurity()
Gets or sets a security properites
public void setSecurity(VCardSecurity value)
public ArrayList<String> getExtendedProperties()
Gets or sets an extended properties
public void setExtendedProperties(ArrayList<String> value)
public static VCardContact load(String filePath)
Reads VCardContact
from the specified vCard file
The supported vCard versions are 2.1 and 3.0
filePath
- A file name to read from
VCardContact
com.aspose.email.ms.System.IllegalArgumentException
- filePath
is null
or empty
public static VCardContact load(String filePath, Charset encoding)
public static VCardContact load(InputStream stream)
public static VCardContact load(InputStream stream, Charset encoding)
public void save(String filePath)
Saves this MapiContact
to the vCard file with a default options.
The supported vCard version is 2.1
filePath
- A vCard file name
com.aspose.email.ms.System.IllegalArgumentException
- filePath
is null
or empty
public void save(String filePath, int saveFormat)
Saves this MapiContact
to the specified file with a format using the default options.
The supported save format is vCard.
filePath
- A vCard file namesaveFormat
- A save format
com.aspose.email.ms.System.IllegalArgumentException
- filePath
is null
or empty
UnsupportedOperationException
- the specified format is not supportedpublic void save(String filePath, ContactSaveOptions saveOptions)
Saves this MapiContact
into file using specified save options.
The supported save options is VCardSaveOptions
filePath
- A vCard file namesaveOptions
- A save options
com.aspose.email.ms.System.IllegalArgumentException
- filePath
is null
or empty
com.aspose.email.ms.System.IllegalArgumentException
- saveOptions
is null
UnsupportedOperationException
- some save option is not supportedpublic void save(OutputStream stream)
public void save(OutputStream stream, int saveFormat)
public void save(OutputStream stream, ContactSaveOptions saveOptions)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |