public abstract class AbstractStorageDeviceDetector extends Object
| Modifier and Type | Field and Description |
|---|---|
protected CommandExecutor |
commandExecutor |
| Constructor and Description |
|---|
AbstractStorageDeviceDetector() |
| Modifier and Type | Method and Description |
|---|---|
static AbstractStorageDeviceDetector |
getInstance() |
abstract List<USBStorageDevice> |
getStorageDevices()
Returns the all storage devices currently connected to the computer.
|
static void |
setInstance(AbstractStorageDeviceDetector customInstance) |
protected final CommandExecutor commandExecutor
public static void setInstance(AbstractStorageDeviceDetector customInstance)
public static AbstractStorageDeviceDetector getInstance()
public abstract List<USBStorageDevice> getStorageDevices()
Copyright © 2022. All rights reserved.