Class HTMLSourceInfo.Config

java.lang.Object
com.iizix.js.build.HTMLSourceInfo.Config
Enclosing class:
HTMLSourceInfo

public class HTMLSourceInfo.Config extends Object
Internal class for information.
  • Field Details Link icon

    • isLocal Link icon

      public final boolean isLocal
      The local location flag, true means iiziRun or iiziGo, false means browser (including localhost).
    • isDevel Link icon

      public final boolean isDevel
      The development version flag, true means NO compression.
    • source Link icon

      public final String source
      The transformed HTML source, null when in production mode.
    • cssList Link icon

      public final List<String> cssList
      The cached and unmodifiable list of CSS sources.
    • jsList Link icon

      public final List<String> jsList
      The cached and unmodifiable list of JS sources.
    • amdList Link icon

      public final List<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 Link icon

      public final Map<String,String> settings
      The settings in an unmodifiable map.
  • Method Details Link icon

    • getMinifiedCSS Link icon

      public File getMinifiedCSS() throws IOException
      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 Link icon

      public File getCompressedJS() throws IOException
      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 Link icon

      public File getCompressedHTML() throws IOException
      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.