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 SummaryFieldsModifier 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 SummaryModifier and TypeMethodDescriptionGets the compresses HTML file.Gets the compressed CSS file.Gets the minified CSS file.
- Field Details- isLocalpublic final boolean isLocalThe local location flag, true means iiziRun or iiziGo, false means browser (including localhost).
- isDevelpublic final boolean isDevelThe development version flag, true means NO compression.
- sourceThe transformed HTML source, null when in production mode.
- cssListThe cached and unmodifiable list of CSS sources.
- jsListThe cached and unmodifiable list of JS sources.
- amdListThe 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. 
- settingsThe settings in an unmodifiable map.
 
- Method Details- getMinifiedCSSGets 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.
 
- getCompressedJSGets 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.
 
- getCompressedHTMLGets 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.