public class Version extends Object
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 and Description |
|---|
Version() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getApiVersion()
Get the version number of the API that this implements.
|
static String |
getRiVersion()
Get the version number of this RI.
|
static void |
main(String[] args)
Print text to stdout (with appropriate version numbers).
|
public static void main(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 String getApiVersion()
This should match a version number found in javax.usb.Version.
public static 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).
Copyright © 2014 LSST. All Rights Reserved.