Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
   * Copyright (C) 2012 The Guava Authors
   * Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
   * You may obtain a copy of the License at
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
Represents a standard system property.

Kurt Alfred Kluever
 public enum StandardSystemProperty {

Java Runtime Environment version.

Java Runtime Environment vendor.

Java vendor URL.

Java installation directory.

Java Virtual Machine specification version.

Java Virtual Machine specification vendor.

Java Virtual Machine specification name.

Java Virtual Machine implementation version.

Java Virtual Machine implementation vendor.

Java Virtual Machine implementation name.

Java Runtime Environment specification version.

Java Runtime Environment specification vendor.

Java Runtime Environment specification name.

Java class format version number.

Java class path.

List of paths to search when loading libraries.

Default temp file path.

Name of JIT compiler to use.

Path of extension directory or directories.

Operating system name.

Operating system architecture.

Operating system version.

File separator ("/" on UNIX).

Path separator (":" on UNIX).

Line separator ("\n" on UNIX).

User's account name.

User's home directory.

User's current working directory.
  private final String key;
  private StandardSystemProperty(String key) {
    this. = key;

Returns the key used to lookup this system property.
  public String key() {
    return ;

Returns the current value for this system property by delegating to java.lang.System.getProperty(java.lang.String).
  public String value() {
    return System.getProperty();

Returns a string representation of this system property.
  @Override public String toString() {
    return key() + "=" + value();
New to GrepCode? Check out our FAQ X