public class YUIBuilder extends Object implements ResourceBuilder, Observer
| Modifier and Type | Class and Description |
|---|---|
static class |
YUIBuilder.Args |
| Modifier and Type | Field and Description |
|---|---|
String |
charset |
boolean |
disableOptimizations |
int |
lineBreak |
boolean |
mergeOnly |
boolean |
nomunge |
boolean |
preserveSemi |
boolean |
verbose |
| Constructor and Description |
|---|
YUIBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
build() |
protected void |
buildInternal() |
void |
check() |
void |
clean() |
protected void |
compress(File inputFile,
File outputFile) |
protected void |
compress(String input,
String output) |
void |
destroy() |
void |
init(File resourceBaseDirectory,
Map<String,Object> config) |
protected YUIBuilder |
init(String type,
File base,
Map<String,Object> config) |
protected YUIBuilder |
init(String type,
Map<String,Object> config) |
void |
initialize() |
protected boolean |
shouldBuild() |
String |
toString() |
public String charset
public int lineBreak
public boolean verbose
public boolean nomunge
public boolean preserveSemi
public boolean disableOptimizations
public boolean mergeOnly
public void init(File resourceBaseDirectory, Map<String,Object> config)
init in interface ResourceBuilderprotected YUIBuilder init(String type, Map<String,Object> config)
protected void compress(File inputFile, File outputFile) throws Exception
Exceptionprotected boolean shouldBuild()
public void build()
throws Exception
build in interface ResourceBuilderExceptionpublic void clean()
throws Exception
clean in interface ResourceBuilderExceptionpublic void initialize()
throws Exception
initialize in interface ObserverExceptionpublic void check()
throws Exception
public void destroy()
throws Exception
Copyright © 2014-2015 Opoo.org. All Rights Reserved.