Contents
Class SystemUtil
java.lang.Object
com.hypixel.hytale.common.util.SystemUtil
- Since:
- 2020/07/17
- Version:
- 1.0
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleangetEnvBoolean(String name) Gets a boolean value from an environment variable.
-
Field Details
-
TYPE
-
-
Constructor Details
-
SystemUtil
public SystemUtil()
-
-
Method Details
-
getEnvBoolean
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.
-