public interface BinderWriter
| Modifier and Type | Method and Description |
|---|---|
String |
write(Object source)
Write POJO into string.
|
void |
write(Object source,
OutputStream os)
Write POJO into output stream of bytes.
|
void |
write(Object source,
Writer out)
Write POJO into character stream.
|
void write(Object source, Writer out) throws WriterException, MappingException
source - an POJOout - a character streamWriterException - if writes failMappingExceptionvoid write(Object source, OutputStream os) throws WriterException, MappingException
source - an POJOos - an output stream of bytes.WriterException - if writes failMappingExceptionString write(Object source) throws WriterException, MappingException
source - an POJOWriterException - if writes failMappingExceptionCopyright © 2015. All rights reserved.