public class WriterFactory
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
private |
WriterFactory() |
Modifier and Type | Method and Description |
---|---|
static Writer |
createWriter(Config cfg,
DocCollector collector)
Creates writer initialised with
input data. |
public static Writer createWriter(Config cfg, DocCollector collector) throws UnsupportedInputFormatException, UnsupportedOutputFormatException, java.io.IOException
input
data.UnsupportedInputFormatException
- if the requested format (extension) of the input file(s) is not supported.UnsupportedOutputFormatException
- if the requested format (extension) of the output file(s) is not supported.java.io.IOException
- on any file system-related problem.Copyright 2009-2015 Tatjana (Tanja) Kostic