org.openmdx.kernel.environment
Class SystemProperties

java.lang.Object
  extended by org.openmdx.kernel.environment.SystemProperties

public class SystemProperties
extends Object

System Properties


Method Summary
static String expand(boolean enabled, String source)
          Expand system properties of the form ${system.property}.
static String expand(String source)
          Expand system properties of the form ${system.property}.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

expand

public static String expand(boolean enabled,
                            String source)
Expand system properties of the form ${system.property}.

Parameters:
source - the source
Returns:
the corresponding expaned value if expansion is enabled

expand

public static String expand(String source)
Expand system properties of the form ${system.property}.

Parameters:
enabled - tells whether expansion is enabled
source - the source
Returns:
the corresponding expaned value if expansion is enabled


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.