|
|
|||||
| Package com.dassault_systemes.PortalNative.PLNtools |
Class OSServices
|
| Class Hierarchy |
java.lang.Object | +-com.dassault_systemes.PortalNative.PLNtools.OSServices
| Class Location |
| Class Description |
public class OSServices
This class manages the differents OSes on the browsers.
| Field Summary |
| public static final int | OS_AIX
Identifying value for AIX returned by getOSID. |
| public static final int | OS_HPUX
Identifying value for HPUX returned by getOSID. |
| public static final int | OS_IRIX
Identifying value for Irix returned by getOSID. |
| public static final int | OS_SOLARIS
Identifying value for SOLARIS returned by getOSID. |
| public static final int | OS_UNKNOWN
Identifying value for an unknown OS returned by getOSID. |
| public static final int | OS_WINDOWS95
Identifying value for Windows95 returned by getOSID. |
| public static final int | OS_WINDOWSNT
Identifying value for Windows NT returned by getOSID. |
| Constructor Summary |
| Method Summary |
| public static OSServices | get()
Returns the unique instance of this class |
| public String | getenv(String name)
Returns an environment variable value or null if not found |
| public int | getOSID()
Retrieves the type of platform. |
| public String | getTempPath()
Returns the path to a temporary directory location, such as "c:\tmp\" for Windows and "/tmp/" for Unix |
| Field Detail |
public static final int OS_AIX
Identifying value for AIX returned by getOSID.
public static final int OS_HPUX
Identifying value for HPUX returned by getOSID.
public static final int OS_IRIX
Identifying value for Irix returned by getOSID.
public static final int OS_SOLARIS
Identifying value for SOLARIS returned by getOSID.
public static final int OS_UNKNOWN
Identifying value for an unknown OS returned by getOSID.
public static final int OS_WINDOWS95
Identifying value for Windows95 returned by getOSID.
public static final int OS_WINDOWSNT
Identifying value for Windows NT returned by getOSID.
| Constructor Detail |
| Method Detail |
public static OSServices get()
Returns the unique instance of this class
public String getenv(String name)
Returns an environment variable value or null if not found
name
public int getOSID()
Retrieves the type of platform.
public String getTempPath()
Returns the path to a temporary directory location,
such as "c:\tmp\" for Windows and "/tmp/" for Unix