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 java.lang.String |
LINE_SEPARATOR
Line separator for output
|
private static Logging |
LOG
The logger for this class.
|
private java.io.File |
outputFile
Output file.
|
REFERENCE, VERSION
Constructor and Description |
---|
GeneratorXMLSpec(java.io.File output,
GeneratorXMLDatabaseConnection generator)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
Main method to run this application.
|
void |
run()
Runs the wrapper with the specified arguments.
|
void |
writeClusters(java.io.OutputStreamWriter outStream,
MultipleObjectsBundle data)
Write the resulting clusters to an output stream.
|
printErrorMessage, runCLIApplication, usage
private static final Logging LOG
public static final java.lang.String LINE_SEPARATOR
private java.io.File outputFile
private GeneratorXMLDatabaseConnection generator
public GeneratorXMLSpec(java.io.File output, GeneratorXMLDatabaseConnection generator)
output
- Output filegenerator
- GeneratorXMLDatabaseConnectionpublic void run()
run
in class AbstractApplication
public void writeClusters(java.io.OutputStreamWriter outStream, MultipleObjectsBundle data) throws java.io.IOException
outStream
- output streamdata
- Generated datajava.io.IOException
- thrown on write errorspublic static void main(java.lang.String[] args)
args
- the arguments to run this applicationCopyright © 2019 ELKI Development Team. License information.