Class SystemUtils

java.lang.Object
ua.mcchickenstudio.opencreative.utils.SystemUtils

public final class SystemUtils extends Object
  • Constructor Details

    • SystemUtils

      public SystemUtils()
  • Method Details

    • setSystemProperty

      public static void setSystemProperty(@NotNull @NotNull String key, @NotNull @NotNull String value)
      Sets property in JVM.
      Parameters:
      key - key of property.
      value - value of property.
    • getSystemProperty

      @Nullable public static @Nullable String getSystemProperty(@NotNull @NotNull String key)
      Returns value of property, or null
      Parameters:
      key - key of property.
      Returns:
      value, or null - if not exists.