Package org.apache.abdera.util
Class AbstractWriter
- java.lang.Object
-
- org.apache.abdera.util.AbstractWriter
-
- All Implemented Interfaces:
Writer
- Direct Known Subclasses:
AbstractNamedWriter
@Deprecated(since="2021-07-29") public abstract class AbstractWriter extends Object implements Writer
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description AbstractWriter()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description WriterOptionsgetDefaultWriterOptions()Deprecated.WritersetDefaultWriterOptions(WriterOptions options)Deprecated.Objectwrite(Base base)Deprecated.Return the serialized form of the Abdera BasevoidwriteTo(Base base, OutputStream out)Deprecated.Serialized the given Abdera Base to the given outputstreamvoidwriteTo(Base base, Writer out)Deprecated.Serialized the given Abdera Base to the given writervoidwriteTo(Base base, WritableByteChannel out)Deprecated.voidwriteTo(Base base, WritableByteChannel out, WriterOptions options)Deprecated.
-
-
-
Method Detail
-
getDefaultWriterOptions
public WriterOptions getDefaultWriterOptions()
Deprecated.- Specified by:
getDefaultWriterOptionsin interfaceWriter
-
setDefaultWriterOptions
public Writer setDefaultWriterOptions(WriterOptions options)
Deprecated.- Specified by:
setDefaultWriterOptionsin interfaceWriter
-
write
public Object write(Base base) throws IOException
Deprecated.Description copied from interface:WriterReturn the serialized form of the Abdera Base- Specified by:
writein interfaceWriter- Throws:
IOException
-
writeTo
public void writeTo(Base base, OutputStream out) throws IOException
Deprecated.Description copied from interface:WriterSerialized the given Abdera Base to the given outputstream- Specified by:
writeToin interfaceWriter- Throws:
IOException
-
writeTo
public void writeTo(Base base, Writer out) throws IOException
Deprecated.Description copied from interface:WriterSerialized the given Abdera Base to the given writer- Specified by:
writeToin interfaceWriter- Throws:
IOException
-
writeTo
public void writeTo(Base base, WritableByteChannel out, WriterOptions options) throws IOException
Deprecated.- Specified by:
writeToin interfaceWriter- Throws:
IOException
-
writeTo
public void writeTo(Base base, WritableByteChannel out) throws IOException
Deprecated.- Specified by:
writeToin interfaceWriter- Throws:
IOException
-
-