public abstract class AbstractDataWriter extends Object implements DataWriter
DataWriter.created on: 07.10.2012
| Modifier and Type | Field and Description |
|---|---|
protected PrintWriter |
out
PrintWriter where the output should be written to.
|
| Constructor and Description |
|---|
AbstractDataWriter(OutputStream outputStream) |
AbstractDataWriter(OutputStream outputStream,
Map<String,Object> configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Map<String,Object> |
getConfiguration()
Access to the additional configuration objects (may be empty but never
null). |
abstract void |
write(GCModel model) |
protected PrintWriter out
public AbstractDataWriter(OutputStream outputStream)
public AbstractDataWriter(OutputStream outputStream, Map<String,Object> configuration)
public Map<String,Object> getConfiguration()
null).public abstract void write(GCModel model) throws IOException
write in interface DataWriterIOExceptionpublic void close()
throws IOException
close in interface DataWriterclose in interface Closeableclose in interface AutoCloseableIOExceptionCloseable.close()Copyright © 2019. All rights reserved.