org.apache.abdera.util
Class AbstractWriterOptions
java.lang.Object
org.apache.abdera.util.AbstractWriterOptions
- All Implemented Interfaces:
- java.lang.Cloneable, WriterOptions
public abstract class AbstractWriterOptions
- extends java.lang.Object
- implements WriterOptions
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
charset
protected java.lang.String charset
codecs
protected CompressionUtil.CompressionCodec[] codecs
autoclose
protected boolean autoclose
AbstractWriterOptions
public AbstractWriterOptions()
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Specified by:
clone
in interface WriterOptions
- Overrides:
clone
in class java.lang.Object
- Throws:
java.lang.CloneNotSupportedException
getCompressionCodecs
public CompressionUtil.CompressionCodec[] getCompressionCodecs()
- Description copied from interface:
WriterOptions
- When writing, use the specified compression codecs
- Specified by:
getCompressionCodecs
in interface WriterOptions
setCompressionCodecs
public void setCompressionCodecs(CompressionUtil.CompressionCodec... codecs)
- Description copied from interface:
WriterOptions
- When writing, use the specified compression codecs
- Specified by:
setCompressionCodecs
in interface WriterOptions
getCharset
public java.lang.String getCharset()
- Specified by:
getCharset
in interface WriterOptions
setCharset
public void setCharset(java.lang.String charset)
- Specified by:
setCharset
in interface WriterOptions
getAutoClose
public boolean getAutoClose()
- Specified by:
getAutoClose
in interface WriterOptions
setAutoClose
public void setAutoClose(boolean autoclose)
- Specified by:
setAutoClose
in interface WriterOptions