org.benow.web.path.page
Class ScriptXMLPlugin.CustomClosureCompiler

java.lang.Object
  extended by com.google.javascript.jscomp.CommandLineRunner
      extended by org.benow.web.path.page.ScriptXMLPlugin.CustomClosureCompiler
Enclosing class:
ScriptXMLPlugin

public static class ScriptXMLPlugin.CustomClosureCompiler
extends com.google.javascript.jscomp.CommandLineRunner


Nested Class Summary
static class com.google.javascript.jscomp.AbstractCommandLineRunner.FlagUsageException
           
 
Constructor Summary
ScriptXMLPlugin.CustomClosureCompiler(java.io.File unopt, java.io.File combinedFile)
           
 
Method Summary
protected  void checkModuleName(java.lang.String arg0)
           
protected  java.util.List<com.google.javascript.jscomp.JSSourceFile> createInputs(java.util.List<java.lang.String> arg0, boolean arg1)
           
protected  int doRun()
           
protected  java.io.OutputStream filenameToOutputStream(java.lang.String arg0)
           
protected  com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig getCommandLineConfig()
           
protected  A getCompiler()
           
protected  com.google.javascript.jscomp.DiagnosticGroups getDiagnosticGroups()
           
protected  java.io.PrintStream getErrorPrintStream()
           
protected  void initOptionsFromFlags(com.google.javascript.jscomp.CompilerOptions arg0)
          Deprecated. 
protected  boolean isInTestMode()
           
 void run()
           
protected  void setRunOptions(com.google.javascript.jscomp.CompilerOptions arg0)
           
 
Methods inherited from class com.google.javascript.jscomp.CommandLineRunner
createCompiler, createExterns, createOptions, getDefaultExterns, main, shouldRunCompiler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptXMLPlugin.CustomClosureCompiler

public ScriptXMLPlugin.CustomClosureCompiler(java.io.File unopt,
                                             java.io.File combinedFile)
Method Detail

isInTestMode

protected boolean isInTestMode()

getCommandLineConfig

protected com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig getCommandLineConfig()

getDiagnosticGroups

protected com.google.javascript.jscomp.DiagnosticGroups getDiagnosticGroups()

initOptionsFromFlags

@Deprecated
protected void initOptionsFromFlags(com.google.javascript.jscomp.CompilerOptions arg0)
Deprecated. 


setRunOptions

protected final void setRunOptions(com.google.javascript.jscomp.CompilerOptions arg0)
                            throws com.google.javascript.jscomp.AbstractCommandLineRunner.FlagUsageException,
                                   java.io.IOException
Throws:
com.google.javascript.jscomp.AbstractCommandLineRunner.FlagUsageException
java.io.IOException

getCompiler

protected final A getCompiler()

run

public final void run()

getErrorPrintStream

protected java.io.PrintStream getErrorPrintStream()

createInputs

protected java.util.List<com.google.javascript.jscomp.JSSourceFile> createInputs(java.util.List<java.lang.String> arg0,
                                                                                 boolean arg1)
                                                                          throws com.google.javascript.jscomp.AbstractCommandLineRunner.FlagUsageException,
                                                                                 java.io.IOException
Throws:
com.google.javascript.jscomp.AbstractCommandLineRunner.FlagUsageException
java.io.IOException

checkModuleName

protected void checkModuleName(java.lang.String arg0)
                        throws com.google.javascript.jscomp.AbstractCommandLineRunner.FlagUsageException
Throws:
com.google.javascript.jscomp.AbstractCommandLineRunner.FlagUsageException

doRun

protected int doRun()
             throws com.google.javascript.jscomp.AbstractCommandLineRunner.FlagUsageException,
                    java.io.IOException
Throws:
com.google.javascript.jscomp.AbstractCommandLineRunner.FlagUsageException
java.io.IOException

filenameToOutputStream

protected java.io.OutputStream filenameToOutputStream(java.lang.String arg0)
                                               throws java.io.IOException
Throws:
java.io.IOException