|
||||||||||
| 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 WriterOptionsclone in class ObjectCloneNotSupportedExceptionpublic CompressionUtil.CompressionCodec[] getCompressionCodecs()
WriterOptions
getCompressionCodecs in interface WriterOptionspublic WriterOptions setCompressionCodecs(CompressionUtil.CompressionCodec... codecs)
WriterOptions
setCompressionCodecs in interface WriterOptionspublic String getCharset()
WriterOptions
getCharset in interface WriterOptionspublic WriterOptions setCharset(String charset)
WriterOptions
setCharset in interface WriterOptionspublic boolean getAutoClose()
WriterOptions
getAutoClose in interface WriterOptionspublic 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 | |||||||||