public class USBStorageDevice extends Object
| Constructor and Description |
|---|
USBStorageDevice(File rootDirectory) |
USBStorageDevice(File rootDirectory,
String deviceName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExecute()
Check if the actual user has execute permissions in this drive.
|
boolean |
canRead()
Check if it is possible to read in this device.
|
boolean |
canWrite()
Check if it is possible to write in this device.
|
boolean |
equals(Object obj) |
String |
getDeviceName() |
File |
getRootDirectory() |
String |
getSystemDisplayName() |
int |
hashCode() |
String |
toString() |
public USBStorageDevice(File rootDirectory)
public File getRootDirectory()
public String getDeviceName()
public boolean canRead()
File.canRead()public boolean canWrite()
File.canWrite()public boolean canExecute()
File.canWrite()public String getSystemDisplayName()
FileSystemView.getSystemDisplayName(java.io.File)Copyright © 2015. All rights reserved.