Package com.nt.udc.admin.server
Class NPLCompiler
java.lang.Object
com.nt.udc.admin.server.NPLCompiler
-
Constructor Summary
ConstructorsConstructorDescriptionNPLCompiler
(String NPLfile, String pkgName, String outdir) Constructor for NPLCompiler class. -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static final String
Returns the usage string for the NPLCompiler main method.
-
Constructor Details
-
NPLCompiler
public NPLCompiler(String NPLfile, String pkgName, String outdir) throws NPLException, NPL2JavaException Constructor for NPLCompiler class. Runs the NPL2Java utility for the NPL file and then compiles that .java file into a .class file which will be placed inoutdir
.- 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 Class file- Throws:
NPLException
- if error translating specified NPL file to Java or compilation of Java file was unsuccessfulNPL2JavaException
-
-
Method Details
-
main
-
usageString
Returns the usage string for the NPLCompiler main method.
-