|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.application.AbstractApplication de.lmu.ifi.dbs.elki.application.GeneratorXMLSpec
public class GeneratorXMLSpec
Generate a data set based on a specified model (using an XML specification)
Nested Class Summary | |
---|---|
static class |
GeneratorXMLSpec.Parameterizer
Parameterization class. |
Field Summary | |
---|---|
private GeneratorXMLDatabaseConnection |
generator
The original data source. |
static String |
LINE_SEPARATOR
Line separator for output |
private static Logging |
logger
The logger for this class. |
private File |
outputFile
Output file. |
Fields inherited from class de.lmu.ifi.dbs.elki.application.AbstractApplication |
---|
INFORMATION, INPUT_ID, OUTPUT_ID, STATIC_LOGGER |
Constructor Summary | |
---|---|
GeneratorXMLSpec(boolean verbose,
File output,
GeneratorXMLDatabaseConnection generator)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class de.lmu.ifi.dbs.elki.application.AbstractApplication |
---|
isVerbose, printErrorMessage, runCLIApplication, usage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final Logging logger
public static final String LINE_SEPARATOR
private File outputFile
private GeneratorXMLDatabaseConnection generator
Constructor Detail |
---|
public GeneratorXMLSpec(boolean verbose, File output, GeneratorXMLDatabaseConnection generator)
verbose
- Verbose flagoutput
- Output filegenerator
- GeneratorXMLDatabaseConnectionMethod Detail |
---|
public void run() throws UnableToComplyException
run
in class AbstractApplication
UnableToComplyException
- if
an error occurs during running the applicationpublic void writeClusters(OutputStreamWriter outStream, MultipleObjectsBundle data) throws IOException
outStream
- output streamdata
- Generated data
IOException
- thrown on write errorspublic static void main(String[] args)
args
- the arguments to run this application
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |