Skip navigation links
A C D E G I L N O P R S U V W 

A

AbstractStorageDeviceDetector - Class in net.samuelcampos.usbdrivedetector.detectors
This class is prepared to: Windows (XP or newer) Mac OS X (10.7 or newer)
AbstractStorageDeviceDetector() - Constructor for class net.samuelcampos.usbdrivedetector.detectors.AbstractStorageDeviceDetector
 
AbstractStorageDeviceUnmounter - Class in net.samuelcampos.usbdrivedetector.unmounters
 
AbstractStorageDeviceUnmounter() - Constructor for class net.samuelcampos.usbdrivedetector.unmounters.AbstractStorageDeviceUnmounter
 
addDriveListener(IUSBDriveListener) - Method in class net.samuelcampos.usbdrivedetector.USBDeviceDetectorManager
Adds an IUSBDriveListener.

C

canExecute() - Method in class net.samuelcampos.usbdrivedetector.USBStorageDevice
Check if the actual user has execute permissions in this drive.
canRead() - Method in class net.samuelcampos.usbdrivedetector.USBStorageDevice
Check if it is possible to read in this device.
canWrite() - Method in class net.samuelcampos.usbdrivedetector.USBStorageDevice
Check if it is possible to write in this device.
checkOutput(Predicate<String>) - Method in class net.samuelcampos.usbdrivedetector.process.OutputProcessor
 
close() - Method in class net.samuelcampos.usbdrivedetector.process.CommandOutputProcessor
 
close() - Method in class net.samuelcampos.usbdrivedetector.USBDeviceDetectorManager
 
closeInput() - Method in class net.samuelcampos.usbdrivedetector.process.OutputProcessor
 
commandExecutor - Variable in class net.samuelcampos.usbdrivedetector.detectors.AbstractStorageDeviceDetector
 
CommandExecutor - Class in net.samuelcampos.usbdrivedetector.process
 
CommandExecutor() - Constructor for class net.samuelcampos.usbdrivedetector.process.CommandExecutor
 
CommandOutputProcessor - Class in net.samuelcampos.usbdrivedetector.process
 
CommandOutputProcessor(String, Process) - Constructor for class net.samuelcampos.usbdrivedetector.process.CommandOutputProcessor
 

D

DeviceEventType - Enum in net.samuelcampos.usbdrivedetector.events
Type of events that occur to USB Storage devices.
DiskInfo - Class in net.samuelcampos.usbdrivedetector.detectors
 
DiskInfo(String) - Constructor for class net.samuelcampos.usbdrivedetector.detectors.DiskInfo
 

E

executeCommand(String) - Method in class net.samuelcampos.usbdrivedetector.process.CommandExecutor
 

G

getInstance() - Static method in class net.samuelcampos.usbdrivedetector.detectors.AbstractStorageDeviceDetector
 
getInstance() - Static method in class net.samuelcampos.usbdrivedetector.unmounters.AbstractStorageDeviceUnmounter
 
getOsType() - Static method in class net.samuelcampos.usbdrivedetector.utils.OSUtils
 
getOsVersion() - Method in class net.samuelcampos.usbdrivedetector.utils.OSUtils
 
getRemovableDevices() - Method in class net.samuelcampos.usbdrivedetector.USBDeviceDetectorManager
Gets a list of currently attached USB storage devices.
getStorageDevices() - Method in class net.samuelcampos.usbdrivedetector.detectors.AbstractStorageDeviceDetector
Returns the all storage devices currently connected to the computer.
getStorageDevices() - Method in class net.samuelcampos.usbdrivedetector.detectors.LinuxStorageDeviceDetector
 
getStorageDevices() - Method in class net.samuelcampos.usbdrivedetector.detectors.OSXStorageDeviceDetector
 
getStorageDevices() - Method in class net.samuelcampos.usbdrivedetector.detectors.WindowsStorageDeviceDetector
 
getSystemDisplayName() - Method in class net.samuelcampos.usbdrivedetector.USBStorageDevice
 

I

IUSBDriveListener - Interface in net.samuelcampos.usbdrivedetector.events
Interface to implement by the classes who want to receive notifications when there are devices Connected or Removed of the computer.

L

LinuxAndOSXStorageDeviceUnmounterBase - Class in net.samuelcampos.usbdrivedetector.unmounters
 
LinuxAndOSXStorageDeviceUnmounterBase() - Constructor for class net.samuelcampos.usbdrivedetector.unmounters.LinuxAndOSXStorageDeviceUnmounterBase
 
LinuxStorageDeviceDetector - Class in net.samuelcampos.usbdrivedetector.detectors
Tested on Linux Ubuntu 13.10
LinuxStorageDeviceDetector(CommandExecutor) - Constructor for class net.samuelcampos.usbdrivedetector.detectors.LinuxStorageDeviceDetector
 
LinuxStorageDeviceUnmounter - Class in net.samuelcampos.usbdrivedetector.unmounters
 
LinuxStorageDeviceUnmounter() - Constructor for class net.samuelcampos.usbdrivedetector.unmounters.LinuxStorageDeviceUnmounter
 

N

net.samuelcampos.usbdrivedetector - package net.samuelcampos.usbdrivedetector
 
net.samuelcampos.usbdrivedetector.detectors - package net.samuelcampos.usbdrivedetector.detectors
 
net.samuelcampos.usbdrivedetector.events - package net.samuelcampos.usbdrivedetector.events
 
net.samuelcampos.usbdrivedetector.process - package net.samuelcampos.usbdrivedetector.process
 
net.samuelcampos.usbdrivedetector.unmounters - package net.samuelcampos.usbdrivedetector.unmounters
 
net.samuelcampos.usbdrivedetector.utils - package net.samuelcampos.usbdrivedetector.utils
 

O

OSType - Enum in net.samuelcampos.usbdrivedetector.utils
 
OSUtils - Class in net.samuelcampos.usbdrivedetector.utils
 
OSUtils() - Constructor for class net.samuelcampos.usbdrivedetector.utils.OSUtils
 
OSXStorageDeviceDetector - Class in net.samuelcampos.usbdrivedetector.detectors
 
OSXStorageDeviceDetector(CommandExecutor) - Constructor for class net.samuelcampos.usbdrivedetector.detectors.OSXStorageDeviceDetector
 
OSXStorageDeviceUnmounter - Class in net.samuelcampos.usbdrivedetector.unmounters
 
OSXStorageDeviceUnmounter() - Constructor for class net.samuelcampos.usbdrivedetector.unmounters.OSXStorageDeviceUnmounter
 
OutputProcessor - Class in net.samuelcampos.usbdrivedetector.process
 
OutputProcessor() - Constructor for class net.samuelcampos.usbdrivedetector.process.OutputProcessor
 

P

processOutput(Consumer<String>) - Method in class net.samuelcampos.usbdrivedetector.process.OutputProcessor
 

R

removeDriveListener(IUSBDriveListener) - Method in class net.samuelcampos.usbdrivedetector.USBDeviceDetectorManager
Removes an IUSBDriveListener.

S

setInstance(AbstractStorageDeviceDetector) - Static method in class net.samuelcampos.usbdrivedetector.detectors.AbstractStorageDeviceDetector
 
setPollingInterval(long) - Method in class net.samuelcampos.usbdrivedetector.USBDeviceDetectorManager
Sets the polling interval

U

unmount(USBStorageDevice) - Method in class net.samuelcampos.usbdrivedetector.unmounters.AbstractStorageDeviceUnmounter
 
unmount(String) - Method in class net.samuelcampos.usbdrivedetector.unmounters.LinuxAndOSXStorageDeviceUnmounterBase
 
unmount(USBStorageDevice) - Method in class net.samuelcampos.usbdrivedetector.unmounters.LinuxStorageDeviceUnmounter
 
unmount(USBStorageDevice) - Method in class net.samuelcampos.usbdrivedetector.unmounters.OSXStorageDeviceUnmounter
 
unmount(USBStorageDevice) - Method in class net.samuelcampos.usbdrivedetector.unmounters.WindowsStorageDeviceUnmounter
 
unmountStorageDevice(USBStorageDevice) - Method in class net.samuelcampos.usbdrivedetector.USBDeviceDetectorManager
 
USBDeviceDetectorManager - Class in net.samuelcampos.usbdrivedetector
 
USBDeviceDetectorManager() - Constructor for class net.samuelcampos.usbdrivedetector.USBDeviceDetectorManager
 
USBDeviceDetectorManager(long) - Constructor for class net.samuelcampos.usbdrivedetector.USBDeviceDetectorManager
Creates a new USBDeviceDetectorManager
USBDeviceDetectorManager(long, AbstractStorageDeviceDetector) - Constructor for class net.samuelcampos.usbdrivedetector.USBDeviceDetectorManager
Creates a new USBDeviceDetectorManager
usbDriveEvent(USBStorageEvent) - Method in interface net.samuelcampos.usbdrivedetector.events.IUSBDriveListener
 
USBStorageDevice - Class in net.samuelcampos.usbdrivedetector
Class to represent a USB Storage Device connected on the computer
USBStorageDevice(File, String, String, String) - Constructor for class net.samuelcampos.usbdrivedetector.USBStorageDevice
 
USBStorageEvent - Class in net.samuelcampos.usbdrivedetector.events
 
USBStorageEvent() - Constructor for class net.samuelcampos.usbdrivedetector.events.USBStorageEvent
 

V

valueOf(String) - Static method in enum net.samuelcampos.usbdrivedetector.events.DeviceEventType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.samuelcampos.usbdrivedetector.utils.OSType
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.samuelcampos.usbdrivedetector.events.DeviceEventType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.samuelcampos.usbdrivedetector.utils.OSType
Returns an array containing the constants of this enum type, in the order they are declared.

W

WindowsStorageDeviceDetector - Class in net.samuelcampos.usbdrivedetector.detectors
 
WindowsStorageDeviceDetector(String, CommandExecutor) - Constructor for class net.samuelcampos.usbdrivedetector.detectors.WindowsStorageDeviceDetector
 
WindowsStorageDeviceUnmounter - Class in net.samuelcampos.usbdrivedetector.unmounters
 
WindowsStorageDeviceUnmounter() - Constructor for class net.samuelcampos.usbdrivedetector.unmounters.WindowsStorageDeviceUnmounter
 
A C D E G I L N O P R S U V W 
Skip navigation links

Copyright © 2022. All rights reserved.