public class Generator extends Object
| Constructor and Description |
|---|
Generator(File outputDirectory,
Reporter reporter) |
Generator(File outputDirectory,
String outputEncoding,
Reporter reporter) |
| Modifier and Type | Method and Description |
|---|---|
void |
build() |
protected int |
countArgs(String formatString)
Counts the number of arguments.
|
void |
generate(File baseDir,
org.apache.tools.ant.DirectoryScanner ds) |
void |
generate(File propertyFile,
String relPath) |
com.sun.codemodel.JCodeModel |
getCodeModel() |
protected String |
toClassName(String relPath) |
protected String |
toJavaIdentifier(String key) |
public void generate(File baseDir, org.apache.tools.ant.DirectoryScanner ds) throws IOException
IOExceptionpublic void generate(File propertyFile, String relPath) throws IOException
IOExceptionprotected int countArgs(String formatString)
public com.sun.codemodel.JCodeModel getCodeModel()
public void build()
throws IOException
IOExceptionCopyright © 2013. All rights reserved.