org.dcm4che.util
Class SystemUtils

java.lang.Object
  extended by org.dcm4che.util.SystemUtils

public class SystemUtils
extends java.lang.Object

Since:
Jan 23, 2008
Version:
$Revision$ $Date$
Author:
Gunter Zeilinger

Constructor Summary
SystemUtils()
           
 
Method Summary
static java.lang.String getSystemProperty(java.lang.String key, java.lang.String def)
          Very similar to System.getProperty except that the SecurityException is hidden.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemUtils

public SystemUtils()
Method Detail

getSystemProperty

public static java.lang.String getSystemProperty(java.lang.String key,
                                                 java.lang.String def)
Very similar to System.getProperty except that the SecurityException is hidden.

Parameters:
key - The key to search for.
def - The default value to return.
Returns:
the string value of the system property, or the default value if there is no property with that key.