Package org.apache.abdera.writer
Interface Writer
-
- All Known Subinterfaces:
NamedWriter
- All Known Implementing Classes:
AbstractNamedWriter,AbstractWriter
@Deprecated(since="2021-07-29") public interface Writer
Deprecated.This API is deprecated as Apache Abdera is a retired project since 2017.Writers are used to serialize Abdera objects
-
-
Method Summary
All Methods Instance Methods Abstract 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 BaseObjectwrite(Base base, WriterOptions options)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, OutputStream out, WriterOptions options)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, Writer out, WriterOptions options)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
-
writeTo
void writeTo(Base base, OutputStream out) throws IOException
Deprecated.Serialized the given Abdera Base to the given outputstream- Throws:
IOException
-
writeTo
void writeTo(Base base, Writer out) throws IOException
Deprecated.Serialized the given Abdera Base to the given writer- Throws:
IOException
-
write
Object write(Base base) throws IOException
Deprecated.Return the serialized form of the Abdera Base- Throws:
IOException
-
writeTo
void writeTo(Base base, OutputStream out, WriterOptions options) throws IOException
Deprecated.Serialized the given Abdera Base to the given outputstream- Throws:
IOException
-
writeTo
void writeTo(Base base, Writer out, WriterOptions options) throws IOException
Deprecated.Serialized the given Abdera Base to the given writer- Throws:
IOException
-
write
Object write(Base base, WriterOptions options) throws IOException
Deprecated.Return the serialized form of the Abdera Base- Throws:
IOException
-
writeTo
void writeTo(Base base, WritableByteChannel out) throws IOException
Deprecated.- Throws:
IOException
-
writeTo
void writeTo(Base base, WritableByteChannel out, WriterOptions options) throws IOException
Deprecated.- Throws:
IOException
-
getDefaultWriterOptions
WriterOptions getDefaultWriterOptions()
Deprecated.
-
setDefaultWriterOptions
Writer setDefaultWriterOptions(WriterOptions options)
Deprecated.
-
-