Package com.iizix.js.build
Class HTMLSourceInfo.Config
java.lang.Object
com.iizix.js.build.HTMLSourceInfo.Config
- Enclosing class:
- HTMLSourceInfo
Internal class for information.
Field Summary
Modifier and TypeFieldDescriptionThe cached and unmodifiable list of dynamic JS sources.The cached and unmodifiable list of CSS sources.final boolean
The development version flag, true means NO compression.final boolean
The 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 String
The 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
The cached and unmodifiable list of CSS sources.jsList
The cached and unmodifiable list of JS sources.amdList
The cached and unmodifiable list of dynamic JS sources.These sources needs to be present on the client side (i.e. iiziRun), but are not loaded using "script" tags but rather dynamically using AMD.
settings
The settings in an unmodifiable map.
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.