public class DefaultFileSystemInfo extends java.lang.Object implements FileSystemInfo
| Constructor and Description |
|---|
DefaultFileSystemInfo(java.io.File mountPoint,
java.lang.String fileSystemType,
java.lang.String deviceName,
boolean remote,
boolean caseSensitive,
boolean casePreserving) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDeviceName()
Returns the operating system specific name for this file system.
|
java.lang.String |
getFileSystemType()
Returns the operating system specific name for the type of this file system.
|
java.io.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 DefaultFileSystemInfo(java.io.File mountPoint,
java.lang.String fileSystemType,
java.lang.String deviceName,
boolean remote,
boolean caseSensitive,
boolean casePreserving)
public java.lang.String getDeviceName()
FileSystemInfogetDeviceName in interface FileSystemInfopublic java.io.File getMountPoint()
FileSystemInfogetMountPoint in interface FileSystemInfopublic java.lang.String getFileSystemType()
FileSystemInfogetFileSystemType in interface FileSystemInfopublic boolean isRemote()
FileSystemInfoisRemote in interface FileSystemInfopublic boolean isCaseSensitive()
FileSystemInfoisCaseSensitive in interface FileSystemInfopublic boolean isCasePreserving()
FileSystemInfoisCasePreserving in interface FileSystemInfo