
O - Object type (usually the class itself)public abstract class TextWriterWriterInterface<O> extends Object
| Constructor and Description |
|---|
TextWriterWriterInterface() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
write(TextWriterStream out,
String label,
O object)
Write a given object to the output stream.
|
void |
writeObject(TextWriterStream out,
String label,
Object object)
Non-type-checking version.
|
public abstract void write(TextWriterStream out, String label, O object) throws UnableToComplyException, IOException
out - Output streamlabel - Label to prefixobject - object to outputUnableToComplyException - on errorsIOException - on IO errorspublic final void writeObject(TextWriterStream out, String label, Object object) throws UnableToComplyException, IOException
out - Output streamlabel - Label to prefixobject - object to outputUnableToComplyException - on errorsIOException - on IO errors