Package open.java.toolkit
Class System
- java.lang.Object
-
- open.java.toolkit.System
-
public class System extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static booleanerrorOccurredstatic booleanlogErrorsstatic java.lang.StringnewLinestatic booleanshowErrors
-
Constructor Summary
Constructors Constructor Description System()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetDateAndTime(java.lang.String format)Gets the date and time formatted as a string.static java.lang.StringgetToolkitVersion()Gets the current JavaToolkit version.static booleanisWindows()Checks if the current operating system is *nix-based or Windows-based.
-
-
-
Method Detail
-
getDateAndTime
public static java.lang.String getDateAndTime(java.lang.String format)
Gets the date and time formatted as a string.- Parameters:
format- The format of the date and time string.- Returns:
- The formatted date and time string.
-
getToolkitVersion
public static java.lang.String getToolkitVersion()
Gets the current JavaToolkit version.- Returns:
- The current JavaToolkit version.
-
isWindows
public static boolean isWindows()
Checks if the current operating system is *nix-based or Windows-based.- Returns:
- Whether or not the current operating system is *nix-based or Windows-based.
-
-