| Constructor and Description |
|---|
DefaultOutputter() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
init(Path path,
Configuration conf)
Initialize the
Outputter to a specific path. |
void |
output(T object)
Output an object.
|
public void init(Path path, Configuration conf) throws IOException
OutputterOutputter to a specific path.init in interface Outputter<T>path - The Path to the output file.conf - ConfigurationIOExceptionpublic void output(T object) throws IOException
Outputteroutput in interface Outputter<T>object - The objecte.IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2018 CERN. All Rights Reserved.