home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Languages Suite
/
ProgLangD.iso
/
VCAFE.3.0A
/
Main.bin
/
AccessiblePlatform.java
< prev
next >
Wrap
Text File
|
1998-10-07
|
2KB
|
86 lines
package com.symantec.itools.lang;
import java.io.IOException;
import com.symantec.itools.util.Properties;
/**
* @author Symantec Internet Tools Division
* @version 1.0
* @since VCafe 3.0
* @see com.symantec.itools.util.Properties
*/
public class AccessiblePlatform
extends Platform
{
/**
* @since VCafe 3.0
*/
protected AccessiblePlatform()
{
throw new IllegalInstantiationError(AccessiblePlatform.class);
}
/**
* Returns the name of the OS.
* @return The String value of the osName or null if it is unknown.
* @since VCafe 3.0
*/
public static String getOSName()
{
return (osName);
}
/**
* Returns the type of the OS.
* @return the String value of the osType or null if it is unknown.
* @since VCafe 3.0
*
*/
public static String getOSType()
{
return (osType);
}
/**
* Returns the version of the OS.
* @return The String value of the osName or null if it is unknown.
* @since VCafe 3.0
*/
public static String getOSVersion()
{
return (osVersion);
}
/**
* Returns the Java version.
* @return The String value of the javaVersion or null if it is unknown.
* @since VCafe 3.0
*/
public static String getJavaVersion()
{
return (javaVersion);
}
/**
* Returns the Java vendor.
* @return The String value of the javaVendor or null if it is unknown.
* @since VCafe 3.0
*/
public static String getJavaVendor()
{
return (javaVendor);
}
/**
* Returns the machine architectire.
* @return The String value of the architecture or null if it is unknown.
* @since VCafe 3.0
*/
public static String getArchitecture()
{
return (architecture);
}
}