public class YuiJavaScriptResourceOptimizer extends java.lang.Object implements JavaScriptResourceOptimizer
SKIP_JAVA_SCRIPT_OPTIMIZATION| Constructor and Description |
|---|
YuiJavaScriptResourceOptimizer() |
| Modifier and Type | Method and Description |
|---|---|
int |
getLineBreak() |
java.util.Set<ResourceType> |
getSupportedResourceTypes() |
boolean |
isEnableOptimizations() |
boolean |
isMunge() |
boolean |
isPreserveAllSemiColons() |
boolean |
isSupporting(ResourceType type) |
boolean |
isVerbose() |
Resource |
optimize(Resource input,
OptimizationContext context) |
void |
setEnableOptimizations(boolean enableOptimizations) |
void |
setLineBreak(int lineBreak) |
void |
setMunge(boolean munge) |
void |
setPreserveAllSemiColons(boolean preserveAllSemiColons) |
void |
setVerbose(boolean verbose) |
public int getLineBreak()
public void setLineBreak(int lineBreak)
public boolean isMunge()
public void setMunge(boolean munge)
public boolean isVerbose()
public void setVerbose(boolean verbose)
public boolean isPreserveAllSemiColons()
public void setPreserveAllSemiColons(boolean preserveAllSemiColons)
public boolean isEnableOptimizations()
public void setEnableOptimizations(boolean enableOptimizations)
@Nonnull public Resource optimize(@Nonnull Resource input, @Nonnull OptimizationContext context) throws java.lang.Exception
optimize in interface ResourceOptimizerjava.lang.Exceptionpublic boolean isSupporting(@Nonnull
ResourceType type)
isSupporting in interface ResourceTypeSupporting@Nonnull public java.util.Set<ResourceType> getSupportedResourceTypes()
getSupportedResourceTypes in interface ResourceTypeSupportingCopyright © 2015 echocat. All Rights Reserved.