| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.jusb.Version
public class Version
Version class that prints the current version numbers.
This maintains the version number of the current javax.usb Platform-Independent Reference Implementation. The RI version number does not have to match the API version number.
| Constructor Summary | |
|---|---|
Version()
 | 
|
| Method Summary | |
|---|---|
static java.lang.String | 
getApiVersion()
Get the version number of the API that this implements.  | 
static java.lang.String | 
getRiVersion()
Get the version number of this RI.  | 
static void | 
main(java.lang.String[] args)
Print text to stdout (with appropriate version numbers).  | 
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public Version()
| Method Detail | 
|---|
public static void main(java.lang.String[] args)
The text that will be printed is:
javax.usb Required API version %lt;getApiVersion()> (or later) javax.usb Platform-Independent RI version <getRiVersion()>
args - a String[] of arguments.public static java.lang.String getApiVersion()
This should match a version number found in javax.usb.Version.
public static java.lang.String getRiVersion()
The format of this is <major>.<minor>[.<revision>]
The revision number is optional; a missing revision number (i.e., version X.X) indicates the revision number is zero (i.e., version X.X.0).
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||