public class

ClosureCompilerRunner

extends CommandLineRunner
java.lang.Object
   ↳ com.google.javascript.jscomp.CommandLineRunner
     ↳ com.microstrategy.web.app.utils.ClosureCompilerRunner

Class Overview

Class that wraps the Closure compiler. All configuration is done via args parameter that is structured as an array of strings [similar to command line args].

Summary

Public Methods
int execute()
static int runClosureCompiler(String[] args)
static method that creates a ClosureCompilerRunner and invokes the compiler.
[Expand]
Inherited Methods
From class com.google.javascript.jscomp.CommandLineRunner
From class java.lang.Object

Public Methods

public int execute ()

public static int runClosureCompiler (String[] args)

static method that creates a ClosureCompilerRunner and invokes the compiler. This helper is necessary to catch the CmdLineExceptions that may be thrown by the constructor.@return

Throws
Exception