
public class GeneratorXMLSpec extends AbstractApplication
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
GeneratorXMLSpec.Parameterizer
Parameterization class. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
private GeneratorXMLDatabaseConnection | 
generator
The original data source. 
 | 
static String | 
LINE_SEPARATOR
Line separator for output 
 | 
private static Logging | 
LOG
The logger for this class. 
 | 
private File | 
outputFile
Output file. 
 | 
INFORMATION| Constructor and Description | 
|---|
GeneratorXMLSpec(File output,
                GeneratorXMLDatabaseConnection generator)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
main(String[] args)
Main method to run this application. 
 | 
void | 
run()
Runs the wrapper with the specified arguments. 
 | 
void | 
writeClusters(OutputStreamWriter outStream,
             MultipleObjectsBundle data)
Write the resulting clusters to an output stream. 
 | 
printErrorMessage, runCLIApplication, usageprivate static final Logging LOG
public static final String LINE_SEPARATOR
private File outputFile
private GeneratorXMLDatabaseConnection generator
public GeneratorXMLSpec(File output, GeneratorXMLDatabaseConnection generator)
output - Output filegenerator - GeneratorXMLDatabaseConnectionpublic void run()
         throws UnableToComplyException
run in class AbstractApplicationUnableToComplyException - if an error occurs during running the
         applicationpublic void writeClusters(OutputStreamWriter outStream, MultipleObjectsBundle data) throws IOException
outStream - output streamdata - Generated dataIOException - thrown on write errorspublic static void main(String[] args)
args - the arguments to run this application