Main Page
    Cookbook/Overview     ImageMeister     the jcprops file     Licensing
    Binary Installation & Configuration [ Win · Mac · Nix · OSX ]     Changes
    Public API
    Source Code Main Page
        Java [ Common · Win · Mac · Nix ]     Native Code [ Common · Win · Mac · Nix ]     Manifest
        Native Code Overviews [ Common · Win · Mac · Nix · Strings ]     Macros [ General · Native Macros ]
        Walkthroughs [ Java only · Java and native ]     Building [ Win · Mac · Nix · OSX ]     Distribution Issues

All Packages  This Package  Class Hierarchy  Class Search  Index

Interface com.jconfig.PlatformInfoI

  Summary

public interface  PlatformInfoI
     extends com.jconfig.DumpInfo
{
          // Fields 6
     public static final int LINUX_PLATFORM;
     public static final int MAC_PLATFORM;
     public static final int UNIX_PLATFORM;
     public static final int UNKNOWN_PLATFORM;
     public static final int WINDOWS_PLATFORM;
     public static final String copyrightString;

          // Methods 9
     public abstract String getAPIVersion();
     public abstract String getInterpreterVersion();
     public abstract String getOSArchitecture();
     public abstract String getOSName();
     public abstract String getOSVersion();
     public abstract String getPlatformString();
     public abstract int getPlatformType();
     public abstract String getVendor();
     public abstract VersionNumber getVersionNumber();
}

An object implementing this interface is returned by FileRegistry.getPlatformInfo().

Use this to get information on the current platform. See com.tolstoy.testjc.Tester.java for an example.

Author:
Copyright (c) 1997-2002 Samizdat Productions. All Rights Reserved.


  Cross Reference

Returned By:
FileRegistryI.getPlatformInfo(), FileRegistry.getPlatformInfo()





  Fields

· copyrightString

Summary  |  Top
   public static final String copyrightString


· WINDOWS_PLATFORM

Summary  |  Top
   public static final int WINDOWS_PLATFORM


· LINUX_PLATFORM

Summary  |  Top
   public static final int LINUX_PLATFORM


· UNIX_PLATFORM

Summary  |  Top
   public static final int UNIX_PLATFORM


· MAC_PLATFORM

Summary  |  Top
   public static final int MAC_PLATFORM


· UNKNOWN_PLATFORM

Summary  |  Top
   public static final int UNKNOWN_PLATFORM


  Methods

· getPlatformType

Summary  |  Top

   public abstract int getPlatformType() 

Indicates which platform type we're running on: WINDOWS_PLATFORM, LINUX_PLATFORM, etc.



· getPlatformString

Summary  |  Top
   public abstract String getPlatformString() 

Returns a string representing the specific platform, such as "Linux x86" or "MRJJRI".



· getVersionNumber

Summary  |  Top
   public abstract VersionNumber getVersionNumber() 

Returns the value of the "java.version" system property, converted to a VersionNumber object.



· getOSName

Summary  |  Top
   public abstract String getOSName() 

Returns the value of the "os.name" system property, converted to lowercase.



· getOSArchitecture

Summary  |  Top
   public abstract String getOSArchitecture() 

Returns the value of the "os.arch" system property, converted to lowercase.



· getOSVersion

Summary  |  Top
   public abstract String getOSVersion() 

Returns the value of the "os.version" system property, converted to lowercase.



· getVendor

Summary  |  Top
   public abstract String getVendor() 

Returns the value of the "java.vendor" system property, converted to lowercase.



· getAPIVersion

Summary  |  Top
   public abstract String getAPIVersion() 

Returns the value of the "java.class.version" system property, converted to lowercase.



· getInterpreterVersion

Summary  |  Top
   public abstract String getInterpreterVersion() 

Returns the value of the "java.version" system property, converted to lowercase.



All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7