Package com.github.mjdev.libaums.driver
Class BlockDeviceDriverFactory
- java.lang.Object
-
- com.github.mjdev.libaums.driver.BlockDeviceDriverFactory
-
public class BlockDeviceDriverFactory extends java.lang.ObjectA helper class to create differentBlockDeviceDrivers.
-
-
Constructor Summary
Constructors Constructor Description BlockDeviceDriverFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BlockDeviceDrivercreateBlockDevice(UsbCommunication usbCommunication)This method creates aBlockDeviceDriverwhich is suitable for the underlying mass storage device.
-
-
-
Method Detail
-
createBlockDevice
public static BlockDeviceDriver createBlockDevice(UsbCommunication usbCommunication)
This method creates aBlockDeviceDriverwhich is suitable for the underlying mass storage device.- Parameters:
usbCommunication- The underlying USB communication.- Returns:
- A driver which can handle the USB mass storage device.
-
-