public class VcardLight extends Object
http://www.ietf.org/rfc/rfc2426.txt| Constructor and Description |
|---|
VcardLight(OutputStream outStream)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAddress(String streetNo,
String zip,
String municipality)
Add the citizen's home address
|
void |
addBorn(Date birthday)
Add day of birth
|
void |
addImage(byte[] image)
Add an image (photo)
|
void |
addName(String firstName,
String middleName,
String name)
Add the name info
|
void |
close()
End of the vCard
|
void |
open()
Start the VCard
|
public static final String MIME_TYPE
public VcardLight(OutputStream outStream)
outStream - public void open()
public void addName(String firstName, String middleName, String name)
firstName - first namemiddleName - middle name, if anyname - last namepublic void addAddress(String streetNo, String zip, String municipality)
streetNo - street and numberzip - zip codemunicipality - name of the municipality / citypublic void addBorn(Date birthday)
birthday - public void addImage(byte[] image)
throws IOException
image - photoIOExceptionpublic void close()
Copyright © 2008-2018 FedICT. All Rights Reserved.