Class HTMLSourceInfo.Config
java.lang.Object
com.iizix.js.build.HTMLSourceInfo.Config
- Enclosing class:
HTMLSourceInfo
Internal class for information.
- Author:
- Christopher Mindus
Field Summary
FieldsModifier and TypeFieldDescriptionThe cached and unmodifiable list of dynamic JS sources.The cached and unmodifiable list of CSS sources.final booleanThe development version flag, true means NO compression.final booleanThe local location flag, true means iiziRun or iiziGo, false means browser (including localhost).The cached and unmodifiable list of JS sources.The settings in an unmodifiable map.final StringThe transformed HTML source, null when in production mode.Method Summary
Modifier and TypeMethodDescriptionGets the compresses HTML file.Gets the compressed CSS file.Gets the minified CSS file.
Field Details
isLocal
public final boolean isLocalThe local location flag, true means iiziRun or iiziGo, false means browser (including localhost).isDevel
public final boolean isDevelThe development version flag, true means NO compression.source
The transformed HTML source, null when in production mode.cssList
jsList
amdList
settings
Method Details
getMinifiedCSS
Gets the minified CSS file.- Returns:
- The file created.
- Throws:
IOException- If this configuration is for development and should not be minified, or there is a problem in the minification.
getCompressedJS
Gets the compressed CSS file.- Returns:
- The file created.
- Throws:
IOException- If this configuration is for development and should not be compressed, or there is a problem in the compression or obfuscation.
getCompressedHTML
Gets the compresses HTML file.- Returns:
- The file created.
- Throws:
IOException- If this configuration is for development and should not be compressed, or there is a problem in the compression or obfuscation.