SDK/J javax.usb 1.0.1-2.0
RICOH Confidential

jp.co.ricoh.dsdk.util.usb
Class JavaxUsbUtil

java.lang.Object
  extended by jp.co.ricoh.dsdk.util.usb.JavaxUsbUtil

public class JavaxUsbUtil
extends java.lang.Object

Special utility methods for Ricoh's devices.


Constructor Summary
JavaxUsbUtil()
           
 
Method Summary
static void reset()
          Deprecated. Not for public use in the future. This method is expected to be retained only as a package private method. reset(UsbInterface)
static void reset(javax.usb.UsbInterface usbInterface)
           Closes specified connection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaxUsbUtil

public JavaxUsbUtil()
Method Detail

reset

public static void reset()
Deprecated. Not for public use in the future. This method is expected to be retained only as a package private method. reset(UsbInterface)

Closes all connections. (Disconnects all connected devices.)

When the obtained data is invalid, call this method before retrying the data obtainment.


reset

public static void reset(javax.usb.UsbInterface usbInterface)
                  throws javax.usb.UsbException,
                         javax.usb.UsbNotActiveException,
                         javax.usb.UsbDisconnectedException

Closes specified connection. (Disconnects one connected device.)

When the obtained data is invalid, call this method before retrying the data obtainment.

Throws:
javax.usb.UsbException - if the error occurs.
javax.usb.UsbNotActiveException - if the interface setting is not active.
javax.usb.UsbDisconnectedException - If this device has been disconnected.

SDK/J javax.usb 1.0.1-2.0
RICOH Confidential