|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.fedict.eid.applet.service.util.VcardLight
public class VcardLight
A light implementation of VCard 3.0
http://www.ietf.org/rfc/rfc2426.txt
Field Summary | |
---|---|
static String |
MIME_TYPE
|
Constructor Summary | |
---|---|
VcardLight(OutputStream outStream)
Constructor |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String MIME_TYPE
Constructor Detail |
---|
public VcardLight(OutputStream outStream)
outStream
- Method Detail |
---|
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
- photo
IOException
public void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |