org.rhq.helpers.pluginGen
Class PluginGen
java.lang.Object
org.rhq.helpers.pluginGen.PluginGen
public class PluginGen
- extends Object
Main class for the plugin generator
- Author:
- Heiko W. Rupp
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PluginGen
public PluginGen()
main
public static void main(String[] arg)
throws Exception
- Throws:
Exception
run
public void run()
throws Exception
- Throws:
Exception
createFile
public void createFile(Props props,
String template,
String fileName,
String directory)
- Apply a template to generate a file
- Parameters:
props - The properties used to create the respective filetemplate - The name of the template without .ftl suffixfileName - The name of the file to createdirectory - The name of the directory to create in
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.