org.rhq.helpers.bundleGen
Class BundleGen
java.lang.Object
org.rhq.helpers.bundleGen.BundleGen
public class BundleGen
- extends Object
Main class of a (simple) bundle creator
- Author:
- Heiko W. Rupp
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BundleGen
public BundleGen()
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
createFile
public void createFile(Props props,
String template,
String fileName,
String directory)
- Apply a freemarker 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-2012 Red Hat, Inc.. All Rights Reserved.