Package org.apache.abdera.writer
Interface WriterOptions
-
- All Superinterfaces:
java.lang.Cloneable
- All Known Implementing Classes:
AbstractWriterOptions
public interface WriterOptions extends java.lang.Cloneable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Objectclone()booleangetAutoClose()True if the writer should close the output stream or writer when finishedjava.lang.StringgetCharset()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(java.lang.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
java.lang.Object clone() throws java.lang.CloneNotSupportedException- Throws:
java.lang.CloneNotSupportedException
-
getCharset
java.lang.String getCharset()
The character encoding to use for the output
-
setCharset
WriterOptions setCharset(java.lang.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
-
-