Package com.iizix.js.build
Class HTMLSourceInfo
java.lang.Object
com.iizix.js.build.HTMLSourceInfo
The HTML source information.
- Author:
- Christopher Mindus
Nested Class Summary
Method Summary
Modifier and TypeMethodDescriptiongetConfig
(boolean isLocal, boolean isDevel) Gets the config.boolean
isCompressedConfigPresent
(boolean isLocal) Checks if a compressed config is present.
Method Details
getConfig
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.