This maintains the version number of the current javax.usb API specification and the supported USB specification version number.
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static String | |
| public static String | Returns: the version number of the implemented USB specification version.Get the version number of the USB specification this API implements. |
| public static void |
| VERSION_JAVAX_USB | back to summary |
|---|---|
| private static final String VERSION_JAVAX_USB | |
| VERSION_USB_SPECIFICATION | back to summary |
|---|---|
| private static final String VERSION_USB_SPECIFICATION | |
| Version | back to summary |
|---|---|
| public Version() | |
| getApiVersion | back to summary |
|---|---|
| public static String getApiVersion() Get the version number of this API. 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).
| |
| getUsbVersion | back to summary |
|---|---|
| public static String getUsbVersion() Get the version number of the USB specification this API implements. The formt of this is <major>.<minor>[.<revision>] This should correspond with a released USB specification hosted by the USB organization website. The revision number will only be present if the USB specification contains it.
| |
| main | back to summary |
|---|---|
| public static void main(String[] args) Prints out text to stdout (with appropriate version numbers). The specific text printed is: javax.usb API version <getApiVersion()> USB specification version <getUsbVersion()>
| |