org.apache.abdera.writer
Interface WriterOptions

All Superinterfaces:
Cloneable

public interface WriterOptions
extends Cloneable


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
 

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



Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.