Class SystemUtil

java.lang.Object
com.hypixel.hytale.common.util.SystemUtil

public class SystemUtil extends Object
Since:
2020/07/17
Version:
1.0
  • Field Details

  • Constructor Details

    • SystemUtil

      public SystemUtil()
  • Method Details

    • getEnvBoolean

      public static boolean getEnvBoolean(@Nonnull String name)
      Gets a boolean value from an environment variable. Returns true if the env var is set to any value except "false", "0", or "no". Returns false if the env var is not set.