Package com.nt.udc.npl
Class NPL2Java
java.lang.Object
com.nt.udc.npl.NPL2Java
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static final String
Returns the usage string for the NPL2Java main method.
-
Constructor Details
-
NPL2Java
public NPL2Java(String NPLfile, String pkgName, String outdir, boolean overwrite_file) throws NPL2JavaException Constructor for NPL2Java translator class. Opens the specified NPL file, creates a NPL-Java translator, and creates and opens the Java file.- Parameters:
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 true- Throws:
NPL2JavaException
- if error translating specified NPL file to Java
-
-
Method Details
-
main
-
usageString
Returns the usage string for the NPL2Java main method.
-