Package com.iizix
Class SystemConfig
java.lang.Object
com.iizix.SystemConfig
System configuration class.
- Author:
- Christopher Mindus
- Field SummaryFieldsModifier and TypeFieldDescription- static final StringBatch file extension (".bat" for Windows, "" for the others).- static final longThe build number.- static final LocalDateTimeDate and time when the system was built: less than minute values are set to zero (unless it's a debug build).- static final StringThe copyright string (without new line) as e.g.- static final StringThe copyright string (with new line) as e.g.- static final StringExecutable extension (".exe" for Windows, "" for the others).- static final booleanFlag indicating system is enabled for unlimited strength cryptography.- static final booleanThe Java architecture is 64 bit.- static final booleanFlag for Development mode, i.e.- static final booleanFlag indicating Early Access mode, enabled with the Java VM switch- -eathat also enables assertions.- static final booleanThe Linux OS variable indicator.- static final booleanThe macOS ("Mac OS") variable indicator.- static final booleanThe indicator for Windows 10 or better.- static final booleanThe indicator for Windows 11 or better.- static final booleanThe indicator for Windows 12 or better.- static final booleanThe indicator for Windows 7, Windows Server 2008 R2 or better.- static final booleanThe indicator for Windows 8, Windows Server 2012 or better.- static final booleanThe Windows OS variable indicator.- static final StringThe Java VM name.- static final intThe Java version "number" 11, 12, 13, 14, ..., zero if none matches.- static final StringThe Java version, 1.6[.nn], 1.7[.nn], 1.8[.nn], 9.nn or 10.nn...- static final StringSystem config error if JCE unlimited cryptography is not enabled.- static final StringThe Line separator ("\r\n" for Windows, "\n" for Unix).- static final StringThe OS name.- static final StringThe OS version.- static final booleanFlag indicating that Java code is run through ProGuard to process/optimize and obfuscate it.- static final StringThe version number, e.g.- static final StringThe version number concatenated with the build as "1.3.34.56789".- static final booleanFlag indicating the HTML and JavaScript has been compressed.
- Method Summary
- Field Details- VERSIONThe version number, e.g. "1.3.34".
- BUILDpublic static final long BUILDThe build number.
- VERSION_BUILDThe version number concatenated with the build as "1.3.34.56789".
- HAS_UNLIMITED_CRYPTOpublic static final boolean HAS_UNLIMITED_CRYPTOFlag indicating system is enabled for unlimited strength cryptography.
- COPYRIGHT_1The copyright string (without new line) as e.g. "(C) Copyright Mindus SARL, 2022. All rights reserved.".- See Also:
 
- COPYRIGHT_2The copyright string (with new line) as e.g. "(C) Copyright Mindus SARL, 2022.\nAll rights reserved.".- See Also:
 
- buildDateTimeDate 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.
- isDevelopmentModepublic static final boolean isDevelopmentModeFlag 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.
- isEarlyAccessEnabledpublic static final boolean isEarlyAccessEnabledFlag indicating Early Access mode, enabled with the Java VM switch- -eathat also enables assertions. This flag can be turned on in production or development mode.
- WEB_COMPRESSpublic static final boolean WEB_COMPRESSFlag 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_PROCESSEDpublic static final boolean PROGUARD_PROCESSEDFlag 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.
- osNameThe OS name.
- osVersionThe OS version.
- javaNameThe Java VM name.
- javaVersionThe Java version, 1.6[.nn], 1.7[.nn], 1.8[.nn], 9.nn or 10.nn...
- is64bitpublic static final boolean is64bitThe Java architecture is 64 bit.
- javaVerpublic static final int javaVerThe Java version "number" 11, 12, 13, 14, ..., zero if none matches.
- isLinuxpublic static final boolean isLinuxThe Linux OS variable indicator. This indicator is not true, even for macOS ("Mac OS").
- isMacpublic static final boolean isMacThe macOS ("Mac OS") variable indicator.
- isWindowspublic static final boolean isWindowsThe Windows OS variable indicator.
- EXE_EXTExecutable extension (".exe" for Windows, "" for the others).
- BAT_EXTBatch file extension (".bat" for Windows, "" for the others).
- LINE_SEPARATORThe Line separator ("\r\n" for Windows, "\n" for Unix).
- isWin7public static final boolean isWin7The indicator for Windows 7, Windows Server 2008 R2 or better.
- isWin8public static final boolean isWin8The indicator for Windows 8, Windows Server 2012 or better.
- isWin10public static final boolean isWin10The indicator for Windows 10 or better. (Windows 10, Windows Server 2019).
- isWin11public static final boolean isWin11The indicator for Windows 11 or better. (Windows 11, Windows Server 2022 or better). Right now, both Windows 11 reports as "Windows 10".
- isWin12public static final boolean isWin12The indicator for Windows 12 or better. (Windows 12+, Windows Server 2022+ or better).
- JCE_NOT_UNLIMITEDSystem config error if JCE unlimited cryptography is not enabled.- See Also: