|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbase.user.jcard.JCard
public class JCard
| Constructor Summary | |
|---|---|
JCard()
|
|
| Method Summary | |
|---|---|
Property |
addProperty(java.lang.String propertyName)
|
JCard |
newJCard(User user)
This method has to be implemented in order to create a new JCard instance given a valid and alredy instanced internet-cafe user. |
User |
newUser(JCard jcard)
This method has to be implemented in order to create a new internet-cafe User instance given a valid and alredy instanced JCard. |
void |
read(java.io.Reader reader)
This method should be imlemented in order to import and create a new vCard instance from a vCard file. |
void |
write(java.io.File file)
|
void |
write(java.lang.String fileName)
|
void |
write(java.io.Writer writer)
This method should be imlemented in order to export a vCard instace to a file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JCard()
throws JCardException
JCardException| Method Detail |
|---|
public Property addProperty(java.lang.String propertyName)
throws JCardException
JCardException
public void write(java.lang.String fileName)
throws JCardException
JCardException
public void write(java.io.File file)
throws JCardException
JCardException
public void write(java.io.Writer writer)
throws JCardException
IVCard
write in interface IVCardwriter - The writer associated to the file where the vCard must be saved.
JCardExceptionpublic void read(java.io.Reader reader)
IVCard
read in interface IVCardreader - The reader associated to the file to be loaded as a vCard.public User newUser(JCard jcard)
IVCard
newUser in interface IVCardjcard - The JCard from wich the user must be instantiated.
public JCard newJCard(User user)
IVCard
newJCard in interface IVCarduser - The internet-cafe User instance whose parameters must be exported as a JCard.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||