Class NPLCompiler

java.lang.Object
com.nt.udc.admin.server.NPLCompiler

public class NPLCompiler extends Object
  • 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 in outdir.
      Parameters:
      NPLfile - the pathname of the NPL file to translate
      pkgName - the package name to put in the generated Java file
      outdir - the directory to write the generated Class file
      Throws:
      NPLException - if error translating specified NPL file to Java or compilation of Java file was unsuccessful
      NPL2JavaException
  • Method Details

    • main

      public static void main(String[] args)
    • usageString

      public static final String usageString()
      Returns the usage string for the NPLCompiler main method.