Package com.samaxes.maven.minify.common
Class YuiConfig
java.lang.Object
com.samaxes.maven.minify.common.YuiConfig
YUI Compressor configuration.
-
Constructor Summary
ConstructorsConstructorDescriptionYuiConfig(int lineBreak, boolean munge, boolean preserveSemicolons, boolean disableOptimizations) Init YuiConfig values. -
Method Summary
Modifier and TypeMethodDescriptionintGets the lineBreak.booleanGets the disableOptimizations.booleanisMunge()Gets the munge.booleanGets the preserveSemicolons.
-
Constructor Details
-
YuiConfig
public YuiConfig(int lineBreak, boolean munge, boolean preserveSemicolons, boolean disableOptimizations) Init YuiConfig values.- Parameters:
lineBreak- split long lines after a specific columnmunge- obfuscate local symbolspreserveSemicolons- preserve unnecessary semicolonsdisableOptimizations- disable all the built-in micro-optimizations
-
-
Method Details
-
getLineBreak
public int getLineBreak()Gets the lineBreak.- Returns:
- the lineBreak
-
isMunge
public boolean isMunge()Gets the munge.- Returns:
- the munge
-
isPreserveSemicolons
public boolean isPreserveSemicolons()Gets the preserveSemicolons.- Returns:
- the preserveSemicolons
-
isDisableOptimizations
public boolean isDisableOptimizations()Gets the disableOptimizations.- Returns:
- the disableOptimizations
-