FileSystemInfo
public 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()
FileSystemInfo
getDeviceName
in interface FileSystemInfo
public File getMountPoint()
FileSystemInfo
getMountPoint
in interface FileSystemInfo
public String getFileSystemType()
FileSystemInfo
getFileSystemType
in interface FileSystemInfo
public boolean isRemote()
FileSystemInfo
isRemote
in interface FileSystemInfo
public boolean isCaseSensitive()
FileSystemInfo
isCaseSensitive
in interface FileSystemInfo
public boolean isCasePreserving()
FileSystemInfo
isCasePreserving
in interface FileSystemInfo