Package org.apache.abdera.util
Class AbstractWriterOptions
- java.lang.Object
-
- org.apache.abdera.util.AbstractWriterOptions
-
- All Implemented Interfaces:
Cloneable,WriterOptions
@Deprecated(since="2021-07-29") public abstract class AbstractWriterOptions extends Object implements WriterOptions
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description AbstractWriterOptions()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Objectclone()Deprecated.booleangetAutoClose()Deprecated.True if the writer should close the output stream or writer when finishedStringgetCharset()Deprecated.The character encoding to use for the outputCompressionUtil.CompressionCodec[]getCompressionCodecs()Deprecated.When writing, use the specified compression codecsWriterOptionssetAutoClose(boolean autoclose)Deprecated.True if the writer should close the output stream or writer when finishedWriterOptionssetCharset(String charset)Deprecated.The character encoding to use for the outputWriterOptionssetCompressionCodecs(CompressionUtil.CompressionCodec... codecs)Deprecated.When writing, use the specified compression codecs
-
-
-
Method Detail
-
clone
public Object clone() throws CloneNotSupportedException
Deprecated.- Specified by:
clonein interfaceWriterOptions- Throws:
CloneNotSupportedException
-
getCompressionCodecs
public CompressionUtil.CompressionCodec[] getCompressionCodecs()
Deprecated.Description copied from interface:WriterOptionsWhen writing, use the specified compression codecs- Specified by:
getCompressionCodecsin interfaceWriterOptions
-
setCompressionCodecs
public WriterOptions setCompressionCodecs(CompressionUtil.CompressionCodec... codecs)
Deprecated.Description copied from interface:WriterOptionsWhen writing, use the specified compression codecs- Specified by:
setCompressionCodecsin interfaceWriterOptions
-
getCharset
public String getCharset()
Deprecated.Description copied from interface:WriterOptionsThe character encoding to use for the output- Specified by:
getCharsetin interfaceWriterOptions
-
setCharset
public WriterOptions setCharset(String charset)
Deprecated.Description copied from interface:WriterOptionsThe character encoding to use for the output- Specified by:
setCharsetin interfaceWriterOptions
-
getAutoClose
public boolean getAutoClose()
Deprecated.Description copied from interface:WriterOptionsTrue if the writer should close the output stream or writer when finished- Specified by:
getAutoClosein interfaceWriterOptions
-
setAutoClose
public WriterOptions setAutoClose(boolean autoclose)
Deprecated.Description copied from interface:WriterOptionsTrue if the writer should close the output stream or writer when finished- Specified by:
setAutoClosein interfaceWriterOptions
-
-