public class TextConfigFileWriter extends DynamicConfigFileWriter
SciPgeConfigFileWriter which takes a template with envReplace
metadata that gets dynamically filled out and written to a file.| Constructor and Description |
|---|
TextConfigFileWriter() |
| Modifier and Type | Method and Description |
|---|---|
File |
generateFile(String filePath,
Metadata metadata,
Logger logger,
Object... customArgs)
Generates a config file for CAS-PGE to use as PGE input with the given
default logger.
|
protected File |
writeTextFile(String file,
String text) |
createConfigFilepublic File generateFile(String filePath, Metadata metadata, Logger logger, Object... customArgs) throws IOException
DynamicConfigFileWritergenerateFile in class DynamicConfigFileWriterfilePath - The name of the config file to generate.metadata - Input CAS-PGE metadata.logger - The logger to write any status information to.customArgs - Any custom parameters needed for the writer to write the input
config file.IOExceptionprotected File writeTextFile(String file, String text) throws IOException
IOExceptionCopyright © 1999–2017 Apache OODT. All rights reserved.