FileSystemInfopublic class DefaultFileSystemInfo extends Object implements FileSystemInfo
| Constructor | Description |
|---|---|
DefaultFileSystemInfo(File mountPoint,
String fileSystemType,
String deviceName,
boolean remote,
boolean caseSensitive,
boolean casePreserving) |
| Modifier and Type | Method | Description |
|---|---|---|
String |
getDeviceName() |
Returns the operating system specific name for this file system.
|
String |
getFileSystemType() |
Returns the operating system specific name for the type of this file system.
|
File |
getMountPoint() |
Returns the root directory of this file system.
|
boolean |
isCasePreserving() |
Returns true if this file system preserves file name case.
|
boolean |
isCaseSensitive() |
Returns true if this file system is performance case sensitive searches.
|
boolean |
isRemote() |
Returns true if this file system is a remote file system, or false if local.
|
public String getDeviceName()
FileSystemInfogetDeviceName in interface FileSystemInfopublic File getMountPoint()
FileSystemInfogetMountPoint in interface FileSystemInfopublic String getFileSystemType()
FileSystemInfogetFileSystemType in interface FileSystemInfopublic boolean isRemote()
FileSystemInfoisRemote in interface FileSystemInfopublic boolean isCaseSensitive()
FileSystemInfoisCaseSensitive in interface FileSystemInfopublic boolean isCasePreserving()
FileSystemInfoisCasePreserving in interface FileSystemInfo