|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.wimpi.pim.contact.io.vcard.vCardMarshaller
Class implementing a ContactMarshaller for the vCard Mime Directory format specification (see RFC 2426).
| Constructor Summary | |
vCardMarshaller()
|
|
vCardMarshaller(java.lang.String enc)
|
|
| Method Summary | |
java.lang.String |
getEncoding()
|
void |
marshallContact(java.io.OutputStream out,
Contact contact)
Marshalls a contact to the given OutputStream. |
void |
marshallContacts(java.io.OutputStream out,
Contact[] contacts)
Marshalls a group of contacts to the given OutputStream. |
void |
setEncoding(java.lang.String encoding)
Sets the encoding used by this ContactMarshaller. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public vCardMarshaller()
public vCardMarshaller(java.lang.String enc)
| Method Detail |
public java.lang.String getEncoding()
public void setEncoding(java.lang.String encoding)
ContactMarshaller
setEncoding in interface ContactMarshallerencoding - the encoding as String.
public void marshallContact(java.io.OutputStream out,
Contact contact)
ContactMarshaller
marshallContact in interface ContactMarshallerout - the OutputStream to write to.contact - the Contact to be marshalled.
public void marshallContacts(java.io.OutputStream out,
Contact[] contacts)
ContactMarshaller
marshallContacts in interface ContactMarshallerout - the OutputStream to write to.contacts - the Contact[] to be marshalled.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||