org.jvnet.localizer
Class Generator
java.lang.Object
org.jvnet.localizer.Generator
public class Generator
- extends Object
- Author:
- Kohsuke Kawaguchi
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Generator
public Generator(File outputDirectory,
Reporter reporter)
generate
public void generate(File baseDir,
org.apache.tools.ant.DirectoryScanner ds)
throws IOException
- Throws:
IOException
generate
public void generate(File propertyFile,
String relPath)
throws IOException
- Throws:
IOException
countArgs
protected int countArgs(String formatString)
- Counts the number of arguments.
toJavaIdentifier
protected String toJavaIdentifier(String key)
toClassName
protected String toClassName(String relPath)
getCodeModel
public com.sun.codemodel.JCodeModel getCodeModel()
build
public void build()
throws IOException
- Throws:
IOException
Copyright © 2011. All Rights Reserved.