Package org.apache.abdera.util
Class AbstractWriterOptions
- java.lang.Object
-
- org.apache.abdera.util.AbstractWriterOptions
-
- All Implemented Interfaces:
java.lang.Cloneable,WriterOptions
@Deprecated(since="2021-07-29") public abstract class AbstractWriterOptions extends java.lang.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 java.lang.Objectclone()Deprecated.booleangetAutoClose()Deprecated.True if the writer should close the output stream or writer when finishedjava.lang.StringgetCharset()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(java.lang.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 java.lang.Object clone() throws java.lang.CloneNotSupportedExceptionDeprecated.- Specified by:
clonein interfaceWriterOptions- Throws:
java.lang.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 java.lang.String getCharset()
Deprecated.Description copied from interface:WriterOptionsThe character encoding to use for the output- Specified by:
getCharsetin interfaceWriterOptions
-
setCharset
public WriterOptions setCharset(java.lang.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
-
-