Enum StandardSystemProperty

java.lang.Object
java.lang.Enum<StandardSystemProperty>
com.google.common.base.StandardSystemProperty
All Implemented Interfaces:
Serializable, Comparable<StandardSystemProperty>, java.lang.constant.Constable

@GwtIncompatible public enum StandardSystemProperty extends Enum<StandardSystemProperty>
Since:
15.0
  • Enum Constant Details

    • JAVA_VERSION

      public static final StandardSystemProperty JAVA_VERSION
      Java Runtime Environment version.
    • JAVA_VENDOR

      public static final StandardSystemProperty JAVA_VENDOR
      Java Runtime Environment vendor.
    • JAVA_VENDOR_URL

      public static final StandardSystemProperty JAVA_VENDOR_URL
      Java vendor URL.
    • JAVA_HOME

      public static final StandardSystemProperty JAVA_HOME
      Java installation directory.
    • JAVA_VM_SPECIFICATION_VERSION

      public static final StandardSystemProperty JAVA_VM_SPECIFICATION_VERSION
      Java Virtual Machine specification version.
    • JAVA_VM_SPECIFICATION_VENDOR

      public static final StandardSystemProperty JAVA_VM_SPECIFICATION_VENDOR
      Java Virtual Machine specification vendor.
    • JAVA_VM_SPECIFICATION_NAME

      public static final StandardSystemProperty JAVA_VM_SPECIFICATION_NAME
      Java Virtual Machine specification name.
    • JAVA_VM_VERSION

      public static final StandardSystemProperty JAVA_VM_VERSION
      Java Virtual Machine implementation version.
    • JAVA_VM_VENDOR

      public static final StandardSystemProperty JAVA_VM_VENDOR
      Java Virtual Machine implementation vendor.
    • JAVA_VM_NAME

      public static final StandardSystemProperty JAVA_VM_NAME
      Java Virtual Machine implementation name.
    • JAVA_SPECIFICATION_VERSION

      public static final StandardSystemProperty JAVA_SPECIFICATION_VERSION
      Java Runtime Environment specification version.
    • JAVA_SPECIFICATION_VENDOR

      public static final StandardSystemProperty JAVA_SPECIFICATION_VENDOR
      Java Runtime Environment specification vendor.
    • JAVA_SPECIFICATION_NAME

      public static final StandardSystemProperty JAVA_SPECIFICATION_NAME
      Java Runtime Environment specification name.
    • JAVA_CLASS_VERSION

      public static final StandardSystemProperty JAVA_CLASS_VERSION
      Java class format version number.
    • JAVA_CLASS_PATH

      public static final StandardSystemProperty JAVA_CLASS_PATH
      Java class path.
    • JAVA_LIBRARY_PATH

      public static final StandardSystemProperty JAVA_LIBRARY_PATH
      List of paths to search when loading libraries.
    • JAVA_IO_TMPDIR

      public static final StandardSystemProperty JAVA_IO_TMPDIR
      Default temp file path.
    • JAVA_COMPILER

      public static final StandardSystemProperty JAVA_COMPILER
      Name of JIT compiler to use.
    • JAVA_EXT_DIRS

      public static final StandardSystemProperty JAVA_EXT_DIRS
      Path of extension directory or directories.
    • OS_NAME

      public static final StandardSystemProperty OS_NAME
      Operating system name.
    • OS_ARCH

      public static final StandardSystemProperty OS_ARCH
      Operating system architecture.
    • OS_VERSION

      public static final StandardSystemProperty OS_VERSION
      Operating system version.
    • FILE_SEPARATOR

      public static final StandardSystemProperty FILE_SEPARATOR
      File separator ("/" on UNIX).
    • PATH_SEPARATOR

      public static final StandardSystemProperty PATH_SEPARATOR
      Path separator (":" on UNIX).
    • LINE_SEPARATOR

      public static final StandardSystemProperty LINE_SEPARATOR
      Line separator ("\n" on UNIX).
    • USER_NAME

      public static final StandardSystemProperty USER_NAME
      User's account name.
    • USER_HOME

      public static final StandardSystemProperty USER_HOME
      User's home directory.
    • USER_DIR

      public static final StandardSystemProperty USER_DIR
      User's current working directory.
  • Method Details

    • values

      public static StandardSystemProperty[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static StandardSystemProperty valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • key

      public String key()
      Returns the key used to lookup this system property.
    • value

      @Nullable public String value()
      Returns the current value for this system property by delegating to System.getProperty(String).
    • toString

      public String toString()
      Returns a string representation of this system property.
      Overrides:
      toString in class Enum<StandardSystemProperty>