public class VCardOutputter
extends net.fortuna.ical4j.data.AbstractOutputter
Constructor and Description |
---|
VCardOutputter() |
VCardOutputter(boolean validating) |
VCardOutputter(boolean validating,
int foldLength) |
Modifier and Type | Method and Description |
---|---|
void |
output(VCard card,
java.io.OutputStream out)
Outputs an iCalender string to the specified output stream.
|
void |
output(VCard card,
java.io.Writer out)
Outputs an iCalender string to the specified writer.
|
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, java.io.OutputStream out) throws java.io.IOException, net.fortuna.ical4j.validate.ValidationException
card
- a vCard object to output as a stringout
- an output stream the output stream to write the vCard string tojava.io.IOException
- thrown when unable to write to output streamnet.fortuna.ical4j.validate.ValidationException
- where the specified vCard is not validpublic final void output(VCard card, java.io.Writer out) throws java.io.IOException, net.fortuna.ical4j.validate.ValidationException
card
- a vCard object to output as a stringout
- a writer to write the output string tojava.io.IOException
- thrown when unable to write to writernet.fortuna.ical4j.validate.ValidationException
- where the specified vCard is not valid