public abstract class AbstractWriter extends Object implements Writer
| Constructor and Description |
|---|
AbstractWriter() |
| Modifier and Type | Method and Description |
|---|---|
WriterOptions |
getDefaultWriterOptions() |
Writer |
setDefaultWriterOptions(WriterOptions options) |
Object |
write(Base base)
Return the serialized form of the Abdera Base
|
void |
writeTo(Base base,
OutputStream out)
Serialized the given Abdera Base to the given outputstream
|
void |
writeTo(Base base,
WritableByteChannel out) |
void |
writeTo(Base base,
WritableByteChannel out,
WriterOptions options) |
void |
writeTo(Base base,
Writer out)
Serialized the given Abdera Base to the given writer
|
public WriterOptions getDefaultWriterOptions()
getDefaultWriterOptions in interface Writerpublic Writer setDefaultWriterOptions(WriterOptions options)
setDefaultWriterOptions in interface Writerpublic Object write(Base base) throws IOException
Writerwrite in interface WriterIOExceptionpublic void writeTo(Base base, OutputStream out) throws IOException
WriterwriteTo in interface WriterIOExceptionpublic void writeTo(Base base, Writer out) throws IOException
WriterwriteTo in interface WriterIOExceptionpublic void writeTo(Base base, WritableByteChannel out, WriterOptions options) throws IOException
writeTo in interface WriterIOExceptionpublic void writeTo(Base base, WritableByteChannel out) throws IOException
writeTo in interface WriterIOExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved