hudson.plugins.dumpinfo
Class SystemUtils

java.lang.Object
  extended by hudson.plugins.dumpinfo.SystemUtils

public final class SystemUtils
extends java.lang.Object

Various utility functions for working with System.

Since:
1.1
Author:
Jesse Farinacci

Method Summary
static java.util.SortedMap<java.lang.String,java.lang.String> getEnvironmentVariables()
          Get a sorted map of system environment variables.
static java.util.SortedMap<java.lang.String,java.lang.String> getSystemProperties()
          Get a sorted map of system properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getEnvironmentVariables

public static java.util.SortedMap<java.lang.String,java.lang.String> getEnvironmentVariables()
Get a sorted map of system environment variables.

Returns:
the sorted environment variables
See Also:
System.getenv()

getSystemProperties

public static java.util.SortedMap<java.lang.String,java.lang.String> getSystemProperties()
Get a sorted map of system properties.

Returns:
the sorted system properties


Copyright © 2004-2011. All Rights Reserved.