|
Elexis API documentationVersion 2.1.6 as of December 11 2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.rgw.tools.VCard
public class VCard
This class is a java representation of a vCard (http://www.imc.org/pdi/)
Nested Class Summary | |
---|---|
static class |
VCard.VCardException
|
Constructor Summary | |
---|---|
VCard(java.io.InputStream in)
Construct a VCard from an InputStream. |
Method Summary | |
---|---|
java.lang.String[] |
getAttributes(java.lang.String element)
return all attributes of the given element |
java.lang.String |
getElement(java.lang.String name)
find the named element |
java.lang.String[] |
getElements()
find all elements in that vCard. |
java.lang.String |
getElementValue(java.lang.String name)
return the value of the given named element |
java.lang.String |
getValue(java.lang.String element)
return the value of the given Element |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VCard(java.io.InputStream in) throws VCard.VCardException, java.io.IOException
in
- the Stream containing the vCard-Data
VCard.VCardException
- inf the stream does not contain a valid vCard
java.io.IOException
Method Detail |
---|
public java.lang.String[] getElements()
public java.lang.String getElement(java.lang.String name)
name
- the name of the element to find
public java.lang.String[] getAttributes(java.lang.String element)
element
-
public java.lang.String getValue(java.lang.String element)
element
-
public java.lang.String getElementValue(java.lang.String name)
name
- name of the element
|
Elexis API documentationVersion 2.1.6 as of December 11 2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |