public class NPL2Java
extends java.lang.Object
Constructor and Description |
---|
NPL2Java(java.lang.String NPLfile,
java.lang.String pkgName,
java.lang.String outdir,
boolean overwrite_file)
Constructor for NPL2Java translator class.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
static java.lang.String |
usageString()
Returns the usage string for the NPL2Java main method.
|
public NPL2Java(java.lang.String NPLfile, java.lang.String pkgName, java.lang.String outdir, boolean overwrite_file) throws NPL2JavaException
NPLfile
- the pathname of the NPL file to translatepkgName
- the package name to put in the generated Java fileoutdir
- the directory to write the generated Java fileoverwrite_file
- overwrite existing Java file if trueNPL2JavaException
- if error translating specified NPL file to Java