Package com.iizix.js.build
Class HTMLSourceInfo.Config
- java.lang.Object
- com.iizix.js.build.HTMLSourceInfo.Config
 
- Enclosing class:
- HTMLSourceInfo
 - public class HTMLSourceInfo.Config extends java.lang.ObjectInternal class for information.
- Field Summary- Fields - Modifier and Type - Field - Description - java.util.List<java.lang.String>- amdListThe cached and unmodifiable list of dynamic JS sources.- java.util.List<java.lang.String>- cssListThe cached and unmodifiable list of CSS sources.- boolean- isDevelThe development version flag, true means NO compression.- boolean- isLocalThe local location flag, true means iiziRun or iiziGo, false means browser (including localhost).- java.util.List<java.lang.String>- jsListThe cached and unmodifiable list of JS sources.- java.util.Map<java.lang.String,java.lang.String>- settingsThe settings in an unmodifiable map.- java.lang.String- sourceThe transformed HTML source, null when in production mode.
 - Method Summary- All Methods Instance Methods Concrete Methods - Modifier and Type - Method - Description - java.io.File- getCompressedHTML()Gets the compresses HTML file.- java.io.File- getCompressedJS()Gets the compressed CSS file.- java.io.File- getMinifiedCSS()Gets the minified CSS file.
 
- Field Detail- isLocal- public final boolean isLocal The local location flag, true means iiziRun or iiziGo, false means browser (including localhost).
 - isDevel- public final boolean isDevel The development version flag, true means NO compression.
 - source- public final java.lang.String source The transformed HTML source, null when in production mode.
 - cssList- public final java.util.List<java.lang.String> cssList The cached and unmodifiable list of CSS sources.
 - jsList- public final java.util.List<java.lang.String> jsList The cached and unmodifiable list of JS sources.
 - amdList- public final java.util.List<java.lang.String> 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- public final java.util.Map<java.lang.String,java.lang.String> settings The settings in an unmodifiable map.
 
 - Method Detail- getMinifiedCSS- public java.io.File getMinifiedCSS() throws java.io.IOExceptionGets the minified CSS file.- Returns:
- The file created.
- Throws:
- java.io.IOException- If this configuration is for development and should not be minified, or there is a problem in the minification.
 
 - getCompressedJS- public java.io.File getCompressedJS() throws java.io.IOExceptionGets the compressed CSS file.- Returns:
- The file created.
- Throws:
- java.io.IOException- If this configuration is for development and should not be compressed, or there is a problem in the compression or obfuscation.
 
 - getCompressedHTML- public java.io.File getCompressedHTML() throws java.io.IOExceptionGets the compresses HTML file.- Returns:
- The file created.
- Throws:
- java.io.IOException- If this configuration is for development and should not be compressed, or there is a problem in the compression or obfuscation.