public class ToStringOutputCodec extends OutputCodec<Object>
Object.toString()
method.Constructor and Description |
---|
ToStringOutputCodec() |
Modifier and Type | Method and Description |
---|---|
void |
write(Object object,
OutputStream ostream)
Writes a string representation of a given object to an output stream.
|
addOptions, asString, asStringSupplier, getAllOutputCodecs, getMetadata, getOption, getOutputCodecByExtension, getOutputCodecByName, getOutputCodecs, hasTrueOption
public void write(Object object, OutputStream ostream) throws IOException
OutputCodec
write
in class OutputCodec<Object>
IOException
- if something went wrong with I/OCopyright © 2017. All rights reserved.