javax.usb
Class UsbHostManager

java.lang.Object
  extended by javax.usb.UsbHostManager

public final class UsbHostManager
extends Object

Entry point for javax.usb.

Author:
Dan Streetman, E. Michael Maximilien

Field Summary
static String JAVAX_USB_PROPERTIES_FILE
           
static String JAVAX_USB_USBSERVICES_PROPERTY
           
 
Method Summary
static Properties getProperties()
          Get the Properties loaded from the properties file.
static UsbServices getUsbServices()
          Get the UsbServices implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JAVAX_USB_PROPERTIES_FILE

public static final String JAVAX_USB_PROPERTIES_FILE
See Also:
Constant Field Values

JAVAX_USB_USBSERVICES_PROPERTY

public static final String JAVAX_USB_USBSERVICES_PROPERTY
See Also:
Constant Field Values
Method Detail

getUsbServices

public static UsbServices getUsbServices()
                                  throws UsbException,
                                         SecurityException
Get the UsbServices implementation.

Returns:
The UsbServices implementation instance.
Throws:
UsbException - If there is an error creating the UsbSerivces implementation.
SecurityException - If the caller does not have security access.

getProperties

public static Properties getProperties()
                                throws UsbException,
                                       SecurityException
Get the Properties loaded from the properties file.

If the properties have not yet been loaded, this loads them.

Returns:
An copy of the Properties.
Throws:
UsbException - If an error occurs while loading the properties.
SecurityException - If the caller does not have security access.


Copyright © 2013 LSST. All Rights Reserved.