Package net.fortuna.ical4j.vcard
Class VCardOutputter
- java.lang.Object
- 
- net.fortuna.ical4j.data.AbstractOutputter
- 
- net.fortuna.ical4j.vcard.VCardOutputter
 
 
- 
 public class VCardOutputter extends AbstractOutputter Generates vCard object data streams. $Id$ Created on: 29/12/2008
- 
- 
Field Summary- 
Fields inherited from class net.fortuna.ical4j.data.AbstractOutputterDEFAULT_CHARSET, foldLength
 
- 
 - 
Constructor SummaryConstructors Constructor Description VCardOutputter()VCardOutputter(boolean validating)VCardOutputter(boolean validating, int foldLength)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidoutput(VCard card, OutputStream out)Outputs an iCalender string to the specified output stream.voidoutput(VCard card, Writer out)Outputs an iCalender string to the specified writer.- 
Methods inherited from class net.fortuna.ical4j.data.AbstractOutputterisValidating, setValidating
 
- 
 
- 
- 
- 
Constructor Detail- 
VCardOutputterpublic VCardOutputter() 
 - 
VCardOutputterpublic VCardOutputter(boolean validating) - Parameters:
- validating- specifies whether to validate vCard objects prior to output
 
 - 
VCardOutputterpublic VCardOutputter(boolean validating, int foldLength)- Parameters:
- validating- specifies whether to validate vCard objects prior to output
- foldLength- specifies the maximum line length
 
 
- 
 - 
Method Detail- 
outputpublic final void output(VCard card, OutputStream out) throws IOException, ValidationException Outputs an iCalender string to the specified output stream.- Parameters:
- card- a vCard object to output as a string
- out- an output stream the output stream to write the vCard string to
- Throws:
- IOException- thrown when unable to write to output stream
- ValidationException- where the specified vCard is not valid
 
 - 
outputpublic final void output(VCard card, Writer out) throws IOException, ValidationException Outputs an iCalender string to the specified writer.- Parameters:
- card- a vCard object to output as a string
- out- a writer to write the output string to
- Throws:
- IOException- thrown when unable to write to writer
- ValidationException- where the specified vCard is not valid
 
 
- 
 
-