cn.dreampie
类 ClosureMinifier
java.lang.Object
cn.dreampie.ClosureMinifier
public class ClosureMinifier
- extends Object
Copyright 2011 Mark Derricutt.
Contributing authors:
Daniel Bower
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Run the Closure Compiler tool on a directory of Javascripts.
This class supports no configuration in its current form.
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClosureMinifier
public ClosureMinifier()
compile
public void compile(List<File> filesToCompile,
File destFile)
compile
public void compile(List<File> filesToCompile)
getCompilationLevel
public com.google.javascript.jscomp.CompilationLevel getCompilationLevel()
setCompilationLevel
public void setCompilationLevel(com.google.javascript.jscomp.CompilationLevel compilationLevel)
setSourceDirectory
public void setSourceDirectory(File sourceDirectory)
setOutputDirectory
public void setOutputDirectory(File outputDirectory)
Copyright © 2014. All rights reserved.