public class VCardOutputter
extends net.fortuna.ical4j.data.AbstractOutputter
Constructor and Description |
---|
VCardOutputter() |
VCardOutputter(boolean validating) |
VCardOutputter(boolean validating,
int foldLength) |
public VCardOutputter()
public VCardOutputter(boolean validating)
validating
- specifies whether to validate vCard objects prior to outputpublic VCardOutputter(boolean validating, int foldLength)
validating
- specifies whether to validate vCard objects prior to outputfoldLength
- specifies the maximum line lengthpublic final void output(VCard card, OutputStream out) throws IOException, net.fortuna.ical4j.model.ValidationException
card
- a vCard object to output as a stringout
- an output stream the output stream to write the vCard string toIOException
- thrown when unable to write to output streamnet.fortuna.ical4j.model.ValidationException
- where the specified vCard is not validpublic final void output(VCard card, Writer out) throws IOException, net.fortuna.ical4j.model.ValidationException
card
- a vCard object to output as a stringout
- a writer to write the output string toIOException
- thrown when unable to write to writernet.fortuna.ical4j.model.ValidationException
- where the specified vCard is not validCopyright © 2008-2012 Micronode. All Rights Reserved.