public class CatalogToJava extends Object
CatalogByString
into java code to reconstruct it.Constructor and Description |
---|
CatalogToJava() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Tool for converting an catalog data file into a java source file.
|
GeneratedClass |
makeClassCode(CatalogByString data,
String classname,
GeneratedContext container,
@Opt String[] args)
Generates code for a java class derived from CatalogByString from
the current state of a Catalog.
|
protected final Format putformat
public GeneratedClass makeClassCode(CatalogByString data, String classname, GeneratedContext container, @Opt @Opt String[] args)
args
- may be null if called programmatically / not from mainpublic static void main(String[] args)
arg[0]
the path to a catalog data file.arg[1]
the name of the class arg[2]
the name of the package into which to generate.arg[3]
file system mount point of source tree.arg[4]
== "--nolf" iff to suppress newlinessee also the complete user documentation .