org.apache.ode.utils
Class SystemUtils
java.lang.Object
org.apache.ode.utils.SystemUtils
public class SystemUtils
- extends java.lang.Object
Extensions for java.lang.System
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemUtils
public SystemUtils()
javaVersion
public static java.lang.String javaVersion()
- See Also:
System.getProperties()
javaVendor
public static java.lang.String javaVendor()
- See Also:
System.getProperties()
javaHome
public static java.lang.String javaHome()
- See Also:
System.getProperties()
javaClassVersion
public static java.lang.String javaClassVersion()
- See Also:
System.getProperties()
javaClassPath
public static java.lang.String javaClassPath()
- See Also:
System.getProperties()
javaTemporaryDirectory
public static java.lang.String javaTemporaryDirectory()
- See Also:
System.getProperties()
javaLibraryPath
public static java.lang.String javaLibraryPath()
- See Also:
System.getProperties()
operatingSystemArchitecture
public static java.lang.String operatingSystemArchitecture()
- See Also:
System.getProperties()
operatingSystemName
public static java.lang.String operatingSystemName()
- See Also:
System.getProperties()
operatingSystemVersion
public static java.lang.String operatingSystemVersion()
- See Also:
System.getProperties()
fileSeparator
public static java.lang.String fileSeparator()
- See Also:
System.getProperties()
pathSeparator
public static java.lang.String pathSeparator()
- See Also:
System.getProperties()
lineSeparator
public static java.lang.String lineSeparator()
- See Also:
System.getProperties()
userName
public static java.lang.String userName()
- See Also:
System.getProperties()
userHome
public static java.lang.String userHome()
- See Also:
System.getProperties()
userDirectory
public static java.lang.String userDirectory()
- See Also:
System.getProperties()
replaceSystemProperties
public static java.lang.String replaceSystemProperties(java.lang.String str)
- Replace system property values in the given String using the ${system.property} convention.
e.g., "The java version is ${java.version}" ==> "The java version is 1.5.0_11"