|
Cumulus4j API (1.1.0) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.cumulus4j.keymanager.back.shared.SystemPropertyUtil
public final class SystemPropertyUtil
Helper class to work with system properties.
Method Summary | |
---|---|
static String |
resolveProperties(String raw,
Properties properties)
General core of resolveSystemProperties simplifying the
creation of test functions. |
static String |
resolveSystemProperties(String raw)
Resolve system properties like "${java.io.tmpdir}" in a String . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String resolveSystemProperties(String raw)
String
. Note, that this method works recursively, i.e. you
can specify a system property "
aaa = someString/${bbb}/other
" and a system property "
bbb = xxx
" and the string "yyy/${aaa}/zzz
" will be resolved to "yyy/someString/xxx/other/zzz
".
raw
- the raw String
, e.g.
"${java.io.tmpdir}/mydirectory".
String
, e.g. "/tmp/mydirectory".public static String resolveProperties(String raw, Properties properties)
resolveSystemProperties
simplifying the
creation of test functions.
raw
- the raw String
, e.g.
"${java.io.tmpdir}/mydirectory".properties
- Properties to resolve
String
, e.g. "/tmp/mydirectory".
|
Cumulus4j API (1.1.0) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |