public interface MultiDataWriter
newWritter() method, before writes data out.| Modifier and Type | Method and Description |
|---|---|
boolean |
hasWriter(String outputName)
Checks if a writer exists.
|
void |
newWriter(String outputName)
Defines a new writer.
|
void |
write(String outputName,
String data,
boolean noDups)
Writes out data.
|
void newWriter(String outputName) throws NoSuchFileException
outputName - the name of the file to write toNoSuchFileException - if the file path is wrongboolean hasWriter(String outputName)
outputName - the name of the file to write tovoid write(String outputName, String data, boolean noDups) throws NoSuchFileException, IOException
outputName - The destination to writes on.data - The data that should be written.noDups - If true duplicate records are not allowed.NoSuchFileException - if the file path is wrongIOException - is something went wrongCopyright © 2015 Omnia Consulting. All rights reserved.