public final class GlobalProperties
extends java.lang.Object
| Constructor and Description |
|---|
GlobalProperties() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getOsName()
Gets the name of the OS this installation is running on.
|
static java.time.ZoneId |
getUtcZoneId()
Gets the ID of the UTC timezone.
|
static java.nio.charset.Charset |
getUtf8Charset()
Gets the
UTF-8 character set which has to be provided by the
JVM. |
public static java.lang.String getOsName()
public static java.nio.charset.Charset getUtf8Charset()
UTF-8 character set which has to be provided by the
JVM. This global property prevents
UnsupportedEncodingExceptions throughout our code.UTF-8 character set.public static java.time.ZoneId getUtcZoneId()