osdep.configuration
Class DefaultSystemProperties
java.lang.Object
osdep.configuration.DefaultSystemProperties
- All Implemented Interfaces:
- ISystemProperties
public class DefaultSystemProperties
- extends java.lang.Object
- implements ISystemProperties
The default source of the system properties. It gets the properties os.name and
os.arch, which define the platform, from the system
- Author:
- SHZ Oct 15, 2008
Method Summary |
java.lang.String |
getOSArchitecture()
the architecture (x86, ppc...) |
java.lang.String |
getOSName()
The os name (Windows, Linux...) |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSystemProperties
public DefaultSystemProperties()
getOSName
public java.lang.String getOSName()
- The os name (Windows, Linux...)
- Specified by:
getOSName
in interface ISystemProperties
getOSArchitecture
public java.lang.String getOSArchitecture()
- the architecture (x86, ppc...)
- Specified by:
getOSArchitecture
in interface ISystemProperties