Class HTMLSourceInfo

java.lang.Object
com.iizix.js.build.HTMLSourceInfo

public class HTMLSourceInfo extends Object
The HTML source information.
Author:
Christopher Mindus
  • Method Details

    • getConfig

      public HTMLSourceInfo.Config getConfig(boolean isLocal, boolean isDevel) throws IOException
      Gets the config.
      Parameters:
      isLocal - The local location flag, true means iiziRun or iiziGo, false means browser (including localhost).
      isDevel - The development version flag.
      Returns:
      The configuration to use.
      Throws:
      IOException - If the file is no longer present or fails to re-load.
    • isCompressedConfigPresent

      public boolean isCompressedConfigPresent(boolean isLocal)
      Checks if a compressed config is present. This method is used to test for compressed files availability in a development environment. For production environment, this method would generally return true always.
      Parameters:
      isLocal - Flag for local (true for iiziRun), false for remote.
      Returns:
      true If there are compressed files available in web root directory.