Package com.iizix

Class SystemConfig

java.lang.Object
com.iizix.SystemConfig

public class SystemConfig extends Object
System configuration class.
Author:
Christopher Mindus
  • Field Summary Link icon

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Batch file extension (".bat" for Windows, "" for the others).
    static final long
    The build number.
    static final LocalDateTime
    Date and time when the system was built: less than minute values are set to zero (unless it's a debug build).
    static final String
    The copyright string (without new line) as e.g.
    static final String
    The copyright string (with new line) as e.g.
    static final String
    Executable extension (".exe" for Windows, "" for the others).
    static final boolean
    Flag indicating system is enabled for unlimited strength cryptography.
    static final boolean
    The Java architecture is 64 bit.
    static final boolean
    Flag for ARM64 or Aarch64 (Windows, Linux and macOS).
    static final boolean
    Flag for Development mode, i.e.
    static final boolean
    Flag indicating Early Access mode, enabled with the Java VM switch -ea that also enables assertions.
    static final boolean
    The Linux OS variable indicator.
    static final boolean
    The macOS ("Mac OS") variable indicator.
    static final boolean
    The indicator for Windows 10 or better.
    static final boolean
    The indicator for Windows 11 or better.
    static final boolean
    The indicator for Windows 12 or better.
    static final boolean
    The indicator for Windows 7, Windows Server 2008 R2 or better.
    static final boolean
    The indicator for Windows 8, Windows Server 2012 or better.
    static final boolean
    The Windows OS variable indicator.
    static final String
    The Java VM name.
    static final int
    The Java version "number": 17, ..., zero if none matches.
    static final String
    The Java version, 1.6[.nn], 1.7[.nn], 1.8[.nn], 9.nn or 10.nn...
    static final String
    System config error if JCE unlimited cryptography is not enabled.
    static final String
    The Line separator ("\r\n" for Windows, "\n" for Unix).
    static final String
    The OS name.
    static final String
    The OS version.
    static final boolean
    Flag indicating that Java code is run through ProGuard to process/optimize and obfuscate it.
    static final String
    The version number, e.g.
    static final String
    The version number concatenated with the build as "1.3.34.56789".
    static final boolean
    Flag indicating the HTML and JavaScript has been compressed.
  • Method Summary Link icon

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details Link icon

    • VERSION Link icon

      public static final String VERSION
      The version number, e.g. "1.3.34".
    • BUILD Link icon

      public static final long BUILD
      The build number.
    • VERSION_BUILD Link icon

      public static final String VERSION_BUILD
      The version number concatenated with the build as "1.3.34.56789".
    • HAS_UNLIMITED_CRYPTO Link icon

      public static final boolean HAS_UNLIMITED_CRYPTO
      Flag indicating system is enabled for unlimited strength cryptography.
    • buildDateTime Link icon

      public static final LocalDateTime buildDateTime
      Date and time when the system was built: less than minute values are set to zero (unless it's a debug build). Typically formatted as yyyy-MM-dd HH:mm.
    • isDevelopmentMode Link icon

      public static final boolean isDevelopmentMode
      Flag for Development mode, i.e. not compiled with Build System into Jar(s).

      This member is used internally by the IIZI system and should not be used in other places as it would always be false.

    • isEarlyAccessEnabled Link icon

      public static final boolean isEarlyAccessEnabled
      Flag indicating Early Access mode, enabled with the Java VM switch -ea that also enables assertions. This flag can be turned on in production or development mode.
    • WEB_COMPRESS Link icon

      public static final boolean WEB_COMPRESS
      Flag indicating the HTML and JavaScript has been compressed.

      This member is used internally by the IIZI system and should not be used in other places as it would always be true.

    • PROGUARD_PROCESSED Link icon

      public static final boolean PROGUARD_PROCESSED
      Flag indicating that Java code is run through ProGuard to process/optimize and obfuscate it.

      This member is used internally by the IIZI system and should not be used in other places as it would always be true.

    • osName Link icon

      public static final String osName
      The OS name.
    • osVersion Link icon

      public static final String osVersion
      The OS version.
    • isARM64 Link icon

      public static final boolean isARM64
      Flag for ARM64 or Aarch64 (Windows, Linux and macOS).
    • javaName Link icon

      public static final String javaName
      The Java VM name.
    • javaVersion Link icon

      public static final String javaVersion
      The Java version, 1.6[.nn], 1.7[.nn], 1.8[.nn], 9.nn or 10.nn...
    • is64bit Link icon

      public static final boolean is64bit
      The Java architecture is 64 bit.
    • javaVer Link icon

      public static final int javaVer
      The Java version "number": 17, ..., zero if none matches.
    • isLinux Link icon

      public static final boolean isLinux
      The Linux OS variable indicator. This indicator is not true, even for macOS ("Mac OS"). It is true for Mainframe zOS or IBM i OS however.
    • isMac Link icon

      public static final boolean isMac
      The macOS ("Mac OS") variable indicator.
    • isWindows Link icon

      public static final boolean isWindows
      The Windows OS variable indicator.
    • EXE_EXT Link icon

      public static final String EXE_EXT
      Executable extension (".exe" for Windows, "" for the others).
    • BAT_EXT Link icon

      public static final String BAT_EXT
      Batch file extension (".bat" for Windows, "" for the others).
    • LINE_SEPARATOR Link icon

      public static final String LINE_SEPARATOR
      The Line separator ("\r\n" for Windows, "\n" for Unix).
    • isWin7 Link icon

      public static final boolean isWin7
      The indicator for Windows 7, Windows Server 2008 R2 or better.
    • isWin8 Link icon

      public static final boolean isWin8
      The indicator for Windows 8, Windows Server 2012 or better.
    • isWin10 Link icon

      public static final boolean isWin10
      The indicator for Windows 10 or better. (Windows 10, Windows Server 2019).
    • isWin11 Link icon

      public static final boolean isWin11
      The indicator for Windows 11 or better. (Windows 11, Windows Server 2022 or better). Right now, both Windows 11 reports as "Windows 10".
    • isWin12 Link icon

      public static final boolean isWin12
      The indicator for Windows 12 or better. (Windows 12+, Windows Server 2022+ or better).
    • JCE_NOT_UNLIMITED Link icon

      public static final String JCE_NOT_UNLIMITED
      System config error if JCE unlimited cryptography is not enabled.
      See Also: