|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gov.bnl.star.offline.scheduler.util.VariablesToolkit
public class VariablesToolkit
Utility class for environment variables, mainly variable substitution.
Method Summary | |
---|---|
static java.lang.String |
substituteVariables(java.lang.String text,
java.util.Map variables)
Substitutes the envirnoment varilables present in a String. |
static java.net.URL |
substituteVariables(java.net.URL url,
java.util.Map variables)
Substitutes the envirnoment varilables present in the path of the URL. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.net.URL substituteVariables(java.net.URL url, java.util.Map variables)
url
- the URL with environment variablesvariables
- a map from variable names to values
public static java.lang.String substituteVariables(java.lang.String text, java.util.Map variables)
text
- the text with environment variablesvariables
- a map from variable names to values
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |