Package net.fortuna.ical4j.data
Class AbstractOutputter
- java.lang.Object
-
- net.fortuna.ical4j.data.AbstractOutputter
-
- Direct Known Subclasses:
CalendarOutputter
public abstract class AbstractOutputter extends Object
Base class for model outputters.$Id$ Created on 29/12/2008
-
-
Field Summary
Fields Modifier and Type Field Description protected static Charset
DEFAULT_CHARSET
The default character set used to generate output.protected int
foldLength
The maximum line length allowed.
-
Constructor Summary
Constructors Constructor Description AbstractOutputter()
Default constructor.AbstractOutputter(boolean validating)
AbstractOutputter(boolean validating, int foldLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isValidating()
void
setValidating(boolean validating)
-
-
-
Field Detail
-
DEFAULT_CHARSET
protected static final Charset DEFAULT_CHARSET
The default character set used to generate output.
-
foldLength
protected final int foldLength
The maximum line length allowed.
-
-
Constructor Detail
-
AbstractOutputter
public AbstractOutputter()
Default constructor.
-
AbstractOutputter
public AbstractOutputter(boolean validating)
- Parameters:
validating
- indicates whether to validate calendar when outputting to stream
-
AbstractOutputter
public AbstractOutputter(boolean validating, int foldLength)
- Parameters:
validating
- indicates whether to validate calendar when outputting to streamfoldLength
- maximum number of characters before a line is folded
-
-