Package fr.paris.lutece.util.env
Class EnvUtil
java.lang.Object
fr.paris.lutece.util.env.EnvUtil
EnvUtil
-
Field Details
-
PREFIX_ENV
- See Also:
-
-
Method Details
-
evaluate
Evaluate a string that may contain a reference to an environement variable enclosed by ${...}- Parameters:
strSource- The source string- Returns:
- The source string or the env variable's value if found.
-
evaluate
Evaluate a string that may contain a reference to an environement variable enclosed by ${...}. If the environement variable has a suffix _FILE the evaluation will take the content of the file as value.- Parameters:
strSource- The source stringstrEnvPrefix- A prefix of the environment- Returns:
- The source string or the env variable's value if found.
-