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

Class com.jconfig.VersionNumber

    java.lang.Object
       |
       +----com.jconfig.VersionNumber

Summary

    public class  VersionNumber
         extends java.lang.Object
    {
              // Constructors 1
         public VersionNumber(String);

              // Methods 6
         public int getBuildNumber();
         public int getMajorVersion();
         public int getMinorVersion();
         public int getRevisionStage();
         public String getVersionString();
         public String toString();
    }

Parses a string in the form "majorVersion?minorVersion?revisionStage?buildNumber", where 'majorVersion', etc. are numbers, and the '?' represent non-numeric characters. Unspecified numbers will be zero.
E.g., "1.0.2" results in majorVersion=1, minorVersion=0, revisionStage=2, and buildNumber=0.

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

Cross Reference

Returned By:
  PlatformInfoI.getVersionNumber()

Constructors

### · VersionNumber | Summary | Top

       public VersionNumber(String s)

Methods

### · getVersionString | Summary | Top

       public String getVersionString()

### · getMajorVersion | Summary | Top

       public int getMajorVersion()

### · getMinorVersion | Summary | Top

       public int getMinorVersion()

### · getRevisionStage | Summary | Top

       public int getRevisionStage()

### · getBuildNumber | Summary | Top

       public int getBuildNumber()

### · toString | Summary | Top

       public String toString()

> Overrides:
>   toString in class Object

    All Packages  This Package  Class Hierarchy  Class Search  Index

Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7