org.databene.commons
Class SysUtil
java.lang.Object
org.databene.commons.SysUtil
public class SysUtil
- extends java.lang.Object
Provides system related utility methods.
Created: 21.10.2009 19:26:24
- Since:
- 0.5.0
- Author:
- Volker Bergmann
|
Method Summary |
static
|
callWithSystemProperty(java.lang.String name,
java.lang.String value,
java.util.concurrent.Callable<T> callee)
|
static void |
runWithSystemProperty(java.lang.String name,
java.lang.String value,
java.lang.Runnable runner)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
runWithSystemProperty
public static void runWithSystemProperty(java.lang.String name,
java.lang.String value,
java.lang.Runnable runner)
callWithSystemProperty
public static <T> T callWithSystemProperty(java.lang.String name,
java.lang.String value,
java.util.concurrent.Callable<T> callee)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2010. All Rights Reserved.