All Packages This Package Class Hierarchy Class Search Index
Class com.jconfig.win.PlatformInfoMSVM
java.lang.Object
|
+----com.jconfig.win.PlatformInfoMSVM
class PlatformInfoMSVM
extends java.lang.Object
implements com.jconfig.PlatformInfoI
{
// Fields 21
private String APIVersion;
private boolean bIs102OrLess;
private boolean bIs11OrGreater;
private boolean bIsMS;
private boolean bIsPlatformMSVM15;
private boolean bIsPlatformMSVM15W;
private boolean bIsPlatformMSVM20;
private boolean bIsPlatformMSVM20W;
private boolean bIsPlatformSun11;
private boolean bIsPlatformSun11W;
private boolean bIsSun;
private boolean bIsSuperCede;
private boolean bIsSymantec;
private boolean bIsWin95;
private boolean bIsWinNT;
private String interpreterVersion;
private String osArch;
private String osName;
private String osVersion;
private String vendor;
private VersionNumber versNum;
// Constructors 1
public PlatformInfoMSVM();
// Methods 17
public void dumpInfo(PrintStream, String);
private final void figureOutPlatform();
public String getAPIVersion();
public String getInterpreterVersion();
public String getOSArchitecture();
public String getOSName();
public String getOSVersion();
public String getPlatformString();
public int getPlatformType();
public String getVendor();
public VersionNumber getVersionNumber();
public boolean isPlatformMSVM15();
public boolean isPlatformMSVM15W();
public boolean isPlatformMSVM20();
public boolean isPlatformMSVM20W();
public boolean isPlatformSun11();
public boolean isPlatformSun11W();
}
This class determines the specifics of the machine and VM which is being used.
- Author:
-
Copyright (c) 1997-2002 Samizdat Productions. All Rights Reserved.
private VersionNumber versNum
private String osName
private String osArch
private String osVersion
private String vendor
private String APIVersion
private String interpreterVersion
private boolean bIsPlatformMSVM15
private boolean bIsPlatformMSVM15W
private boolean bIsPlatformMSVM20
private boolean bIsPlatformMSVM20W
private boolean bIsPlatformSun11
private boolean bIsPlatformSun11W
private boolean bIsWinNT
private boolean bIsWin95
private boolean bIsMS
private boolean bIsSun
private boolean bIsSuperCede
private boolean bIsSymantec
private boolean bIs102OrLess
private boolean bIs11OrGreater
public PlatformInfoMSVM()
public int getPlatformType()
Indicates which platform type we're running on: WINDOWS, LINUX, etc.
- Implements:
- getPlatformType in interface PlatformInfoI
public String getPlatformString()
Returns a string representing the specific platform: "CW", "MRJJRI", or "unknown".
- Implements:
- getPlatformString in interface PlatformInfoI
public VersionNumber getVersionNumber()
Returns the value of the "java.version" system property, converted to a VersionNumber object.
- Implements:
- getVersionNumber in interface PlatformInfoI
public boolean isPlatformMSVM15()
public boolean isPlatformMSVM20()
public boolean isPlatformSun11()
public boolean isPlatformMSVM15W()
public boolean isPlatformMSVM20W()
public boolean isPlatformSun11W()
public String getOSName()
Returns the value of the "os.name" system property, converted to lowercase.
- Implements:
- getOSName in interface PlatformInfoI
public String getOSArchitecture()
Returns the value of the "os.arch" system property, converted to lowercase.
- Implements:
- getOSArchitecture in interface PlatformInfoI
public String getOSVersion()
Returns the value of the "os.version" system property, converted to lowercase.
- Implements:
- getOSVersion in interface PlatformInfoI
public String getVendor()
Returns the value of the "java.vendor" system property, converted to lowercase.
- Implements:
- getVendor in interface PlatformInfoI
public String getAPIVersion()
Returns the value of the "java.class.version" system property, converted to lowercase.
- Implements:
- getAPIVersion in interface PlatformInfoI
public String getInterpreterVersion()
Returns the value of the "java.version" system property, converted to lowercase.
- Implements:
- getInterpreterVersion in interface PlatformInfoI
private final void figureOutPlatform()
Use various system properties to figure out which platform we're running on.
Sets the appropriate 'bIsPlatformXXX' boolean to true.
public void dumpInfo(PrintStream ps,
String indent)
All Packages This Package Class Hierarchy Class Search Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7