|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--Vcard
Defined in vcard.js
Constructor Summary | |
Vcard()
--------- |.##> <##.| Open Smart Card Development Platform (www.openscdp.org) |# #| |# #| Copyright (c) 1999-2011 CardContact Software & System Consulting |'##> <##'| Andreas Schwier, 32429 Minden, Germany (www.cardcontact.de) --------- |
Method Summary | |
void
|
addEmail(<String> email)
Add an Email to the buffer. |
void
|
addTelephone(<String> type, <Number> tel)
Add a telephone number to the buffer. |
ByteString
|
getEncoded()
Return the encoded vCard object |
Boolean
|
hasAddress()
Check if Address is present. |
Boolean
|
hasBirthday()
Check if Birthday is present. |
Boolean
|
hasEmail()
Check if Email Address is present. |
Boolean
|
hasFormattedName()
Check if Formatted Name is present. |
Boolean
|
hasName()
Check if the Name is present. |
Boolean
|
hasNickname()
Check if Nickname is present. |
Boolean
|
hasOrganization()
Check if Organization is present. |
Boolean
|
hasTelephone()
Check if Telephone Number is present. |
Boolean
|
hasUrl()
Check if URL is present. |
Boolean
|
hasVersion()
Check if Version is present. |
void
|
setAddress(<String> street, <String> city, <String> postalCode, <String> country)
Set an Address. |
void
|
setBirthday(<String> bday)
Set Birthday |
void
|
setFormattedName(<String> fname)
Set Formatted Name with the structure: "first name last name". |
void
|
setName(firstName, lastName)
Set Name. |
void
|
setNickname(<String> nick)
Set Nickname. |
void
|
setOrganization(<String> org)
Set Organization. |
void
|
setUrl(<String> url)
Set a URL. |
void
|
setVersion(<String> version)
Set Version |
Constructor Detail |
Vcard()
Method Detail |
void addEmail(<String> email)
email
-
void addTelephone(<String> type, <Number> tel)
type
- The type parameter specify the use of the number or null if not present. The types are: home, msg, work, pref , fax, pager, etc. A number can have serveral type which are seperated with commas.
tel
- The telephone number.
ByteString getEncoded()
Boolean hasAddress()
Boolean hasBirthday()
Boolean hasEmail()
Boolean hasFormattedName()
Boolean hasName()
Boolean hasNickname()
Boolean hasOrganization()
Boolean hasTelephone()
Boolean hasUrl()
Boolean hasVersion()
void setAddress(<String> street, <String> city, <String> postalCode, <String> country)
street
-
city
-
postalCode
-
country
-
void setBirthday(<String> bday)
bday
-
void setFormattedName(<String> fname)
fname
-
void setName(firstName, lastName)
void setNickname(<String> nick)
nick
-
void setOrganization(<String> org)
org
-
void setUrl(<String> url)
url
-
void setVersion(<String> version)
version
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |