|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.di.core.util.EnvUtil
public class EnvUtil
Constructor Summary | |
---|---|
EnvUtil()
|
Method Summary | |
---|---|
static void |
addInternalVariables(Properties prop)
Add a number of internal variables to the Kettle Variables at the root. |
static void |
environmentInit()
Adds the kettle properties the the global system properties. |
static String[] |
getEnvironmentVariablesForRuntimeExec()
|
static String |
getSystemProperty(String key)
|
static String |
getSystemProperty(String key,
String def)
This method is written especially for weird JVM's like |
static String |
getSystemPropertyStripQuotes(String key,
String def)
This method is written especially for weird JVM's like IBM's on AIX and OS/400. |
static Properties |
readProperties(String fileName)
Returns the properties from the users ketle home directory. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EnvUtil()
Method Detail |
---|
public static Properties readProperties(String fileName)
fileName
- the relative name of the properties file in the users kettle
directory.
public static void environmentInit()
public static void addInternalVariables(Properties prop)
variables
- public static final String[] getEnvironmentVariablesForRuntimeExec()
public static final String getSystemPropertyStripQuotes(String key, String def)
key
- The key, the name of the environment variable to returndef
- The default value to return in case the key can't be found
public static final String getSystemProperty(String key, String def)
key
- The key, the name of the environment variable to returndef
- The default value to return in case the key can't be found
public static final String getSystemProperty(String key)
key
- The key, the name of the environment variable to return
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |