Class GlobalProperties


  • public final class GlobalProperties
    extends Object
    This file provides direct access to the global properties of AristaFlow. They are initialised when creating the boot configuration manager.
    • Constructor Detail

      • GlobalProperties

        public GlobalProperties()
    • Method Detail

      • getOsName

        public static String getOsName()
        Gets the name of the OS this installation is running on. This is used to resolve OS-specific issues, for instance, implicitly using extensions for executable files.
        Returns:
        The name of the OS this installation is running on.
      • getUtf8Charset

        @Deprecated
        public static Charset getUtf8Charset()
        Deprecated.
        Gets the UTF-8 character set which has to be provided by the JVM. This global property prevents UnsupportedEncodingExceptions throughout our code.
        Returns:
        The UTF-8 character set.
      • getUtcZoneId

        public static ZoneId getUtcZoneId()
        Gets the ID of the UTC timezone.
        Returns:
        The ID of the UTC timezone.
      • getTempDir

        public static File getTempDir()
        Gets the temporary directory of the JVM.
        Returns:
        The temporary directory of the JVM.