Class FileCompiler


  • public class FileCompiler
    extends Object
    Compiler for Java source code files.
    • Field Detail

      • options

        private final List<String> options
        The command-line options for running this compiler.
      • compiler

        private final JavaCompiler compiler
        The compiler object.
    • Constructor Detail

      • FileCompiler

        public FileCompiler()
        Creates a FileCompiler with no command-line options.
      • FileCompiler

        public FileCompiler​(List<String> options)
        Creates a FileCompiler with the given command-line options.
        Parameters:
        options - the command-line arguments for the JavaCompiler