public class VelocityConfigFileWriter extends DynamicConfigFileWriter
DynamicConfigFileWriter.createConfigFile(String, Metadata, Object...) is the template
directory full path. Second var args parameter to
DynamicConfigFileWriter.createConfigFile(String, Metadata, Object...) is the template file
name.| Constructor and Description |
|---|
VelocityConfigFileWriter() |
| Modifier and Type | Method and Description |
|---|---|
File |
generateFile(String filePath,
Metadata metadata,
Logger logger,
Object... args)
Generates a config file for CAS-PGE to use as PGE input with the given
default logger.
|
createConfigFilepublic File generateFile(String filePath, Metadata metadata, Logger logger, Object... args) 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.args - Any custom parameters needed for the writer to write the input
config file.IOExceptionCopyright © 1999–2017 Apache OODT. All rights reserved.