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.mac.VersionInfoMRJ

    java.lang.Object
       |
       +----com.jconfig.mac.VersionInfoMRJ

Summary

    class  VersionInfoMRJ
         extends java.lang.Object
         implements com.jconfig.VersionInfo
    {
              // Fields 6
         private String abbrevString;
         private static final String copyrightString;
         private String infoString;
         private int majorVersion;
         private int minorVersion;
         private String versionString;

              // Constructors 1
         VersionInfoMRJ(byte[], int);

              // Methods 9
         private void buildVersionNumbers(int, int);
         private void buildVersionString(int, int, int, int);
         public void dumpInfo(PrintStream, String);
         public String getCopyrightNotice();
         public String getDescription();
         public int getMajorVersion();
         public int getMinorVersion();
         public String getProductName();
         public String getVersionString();
    }

Given a byte array containing version info in the format of a 'vers' resource, parses the resource data, and returns version information.

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

Fields

### · copyrightString | Summary | Top

       private static final String copyrightString

### · majorVersion | Summary | Top

       private int majorVersion

### · minorVersion | Summary | Top

       private int minorVersion

### · abbrevString | Summary | Top

       private String abbrevString

### · infoString | Summary | Top

       private String infoString

### · versionString | Summary | Top

       private String versionString

Constructors

### · VersionInfoMRJ | Summary | Top

       VersionInfoMRJ(byte[] resData,
                      int resLength)

> Construct from a buffer containing the 'vers' resource.

> Parameter | Description
> resData | the buffer
> resLength | the length of the 'vers' data

Methods

### · buildVersionNumbers | Summary | Top

       private void buildVersionNumbers(int i0,
                                        int i1)

### · buildVersionString | Summary | Top

       private void buildVersionString(int i0,
                                       int i1,
                                       int i2,
                                       int i3)

### · getMajorVersion | Summary | Top

       public int getMajorVersion()

> Implements:
>   getMajorVersion in interface VersionInfo

### · getMinorVersion | Summary | Top

       public int getMinorVersion()

> Implements:
>   getMinorVersion in interface VersionInfo

### · getVersionString | Summary | Top

       public String getVersionString()

> Implements:
>   getVersionString in interface VersionInfo

### · getCopyrightNotice | Summary | Top

       public String getCopyrightNotice()

> Implements:
>   getCopyrightNotice in interface VersionInfo

### · getProductName | Summary | Top

       public String getProductName()

> Implements:
>   getProductName in interface VersionInfo

### · getDescription | Summary | Top

       public String getDescription()

> Implements:
>   getDescription in interface VersionInfo

### · dumpInfo | Summary | Top

       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