Class JDTCompiler


  • public class JDTCompiler
    extends java.lang.Object
    Compiler based on JDTCompiler
    Author:
    Colin PUY, Matthieu Chaffotte
    • Constructor Summary

      Constructors 
      Constructor Description
      JDTCompiler()  
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void compile​(java.io.File srcDirectory, java.io.File outputDirectory, java.lang.ClassLoader classLoader)  
      void compile​(java.util.Collection<java.io.File> filesToBeCompiled, java.io.File outputDirectory, java.lang.ClassLoader classLoader)
      Deprecated.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JDTCompiler

        public JDTCompiler()
    • Method Detail

      • compile

        @Deprecated
        public void compile​(java.util.Collection<java.io.File> filesToBeCompiled,
                            java.io.File outputDirectory,
                            java.lang.ClassLoader classLoader)
                     throws CompilationException
        Deprecated.
        Compile files in output directory using provided classpath Put null for classpath argument to take current classpath
        Throws:
        CompilationException - if compilation errors occurs