Package org.compiere.util
Class EnvLoader
java.lang.Object
org.compiere.util.EnvLoader
Environment Loader - loads OS environment variables into system properties
- Version:
- $Id: EnvLoader.java,v 1.3 2006/07/30 00:51:05 jjanke Exp $
- Author:
- Jorg Janke
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Properties
Get OS Environment variablesstatic boolean
Load OS environment variables into system properties (System.setProperty)
-
Constructor Details
-
EnvLoader
public EnvLoader()
-
-
Method Details
-
load
Load OS environment variables into system properties (System.setProperty)Prints error messages on System.err
- Parameters:
prefix
- String to prefix variable names- Returns:
- true if success
-
getEnv
Get OS Environment variables- Parameters:
prefix
- String to prefix variable names- Returns:
- Properties with prefixed system environment variables or null if not successful
-