public class JSClosureCompilerWrapper extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
targetFilePath |
| Constructor and Description |
|---|
JSClosureCompilerWrapper(List<String> args) |
| Modifier and Type | Method and Description |
|---|---|
void |
addJSExternsFile(SourceFile file) |
void |
addJSExternsFile(String fileName) |
void |
addJSSourceFile(SourceFile file) |
void |
addJSSourceFile(String fileName) |
boolean |
compile() |
void |
setExtraSymbolNamesToExport(Set<String> names) |
void |
setOptions(String sourceMapPath,
boolean useStrictPublishing,
boolean manageDependencies,
String projectName) |
void |
setPreventRenameMxmlSymbolReferences(boolean enabled) |
void |
setPropertyNamesToKeep(Set<String> propertyNames) |
void |
setSourceMap(boolean enabled) |
void |
setVerbose(boolean enabled) |
public String targetFilePath
public JSClosureCompilerWrapper(List<String> args) throws IOException
IOExceptionpublic void addJSExternsFile(String fileName)
public void addJSExternsFile(SourceFile file)
public void addJSSourceFile(String fileName)
public void addJSSourceFile(SourceFile file)
public void setSourceMap(boolean enabled)
public void setVerbose(boolean enabled)
public void setPreventRenameMxmlSymbolReferences(boolean enabled)
public boolean compile()
Copyright © 2021 The Apache Software Foundation. All rights reserved.