|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.abdera.util.AbstractWriterOptions
public abstract class AbstractWriterOptions
Field Summary | |
---|---|
protected boolean |
autoclose
|
protected String |
charset
|
protected CompressionUtil.CompressionCodec[] |
codecs
|
Constructor Summary | |
---|---|
AbstractWriterOptions()
|
Method Summary | |
---|---|
Object |
clone()
|
boolean |
getAutoClose()
True if the writer should close the output stream or writer when finished |
String |
getCharset()
The character encoding to use for the output |
CompressionUtil.CompressionCodec[] |
getCompressionCodecs()
When writing, use the specified compression codecs |
WriterOptions |
setAutoClose(boolean autoclose)
True if the writer should close the output stream or writer when finished |
WriterOptions |
setCharset(String charset)
The character encoding to use for the output |
WriterOptions |
setCompressionCodecs(CompressionUtil.CompressionCodec... codecs)
When writing, use the specified compression codecs |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String charset
protected CompressionUtil.CompressionCodec[] codecs
protected boolean autoclose
Constructor Detail |
---|
public AbstractWriterOptions()
Method Detail |
---|
public Object clone() throws CloneNotSupportedException
clone
in interface WriterOptions
clone
in class Object
CloneNotSupportedException
public CompressionUtil.CompressionCodec[] getCompressionCodecs()
WriterOptions
getCompressionCodecs
in interface WriterOptions
public WriterOptions setCompressionCodecs(CompressionUtil.CompressionCodec... codecs)
WriterOptions
setCompressionCodecs
in interface WriterOptions
public String getCharset()
WriterOptions
getCharset
in interface WriterOptions
public WriterOptions setCharset(String charset)
WriterOptions
setCharset
in interface WriterOptions
public boolean getAutoClose()
WriterOptions
getAutoClose
in interface WriterOptions
public WriterOptions setAutoClose(boolean autoclose)
WriterOptions
setAutoClose
in interface WriterOptions
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |