Package org.apache.abdera.writer
Interface WriterOptions
-
- All Superinterfaces:
Cloneable
- All Known Implementing Classes:
AbstractWriterOptions
public interface WriterOptions extends Cloneable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectclone()booleangetAutoClose()True if the writer should close the output stream or writer when finishedStringgetCharset()The character encoding to use for the outputCompressionUtil.CompressionCodec[]getCompressionCodecs()When writing, use the specified compression codecsWriterOptionssetAutoClose(boolean autoclose)True if the writer should close the output stream or writer when finishedWriterOptionssetCharset(String charset)The character encoding to use for the outputWriterOptionssetCompressionCodecs(CompressionUtil.CompressionCodec... codecs)When writing, use the specified compression codecs
-
-
-
Method Detail
-
getCompressionCodecs
CompressionUtil.CompressionCodec[] getCompressionCodecs()
When writing, use the specified compression codecs
-
setCompressionCodecs
WriterOptions setCompressionCodecs(CompressionUtil.CompressionCodec... codecs)
When writing, use the specified compression codecs
-
clone
Object clone() throws CloneNotSupportedException
- Throws:
CloneNotSupportedException
-
getCharset
String getCharset()
The character encoding to use for the output
-
setCharset
WriterOptions setCharset(String charset)
The character encoding to use for the output
-
getAutoClose
boolean getAutoClose()
True if the writer should close the output stream or writer when finished
-
setAutoClose
WriterOptions setAutoClose(boolean autoclose)
True if the writer should close the output stream or writer when finished
-
-