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()
FileSystemInfo
getDeviceName
in interface FileSystemInfo
public java.io.File getMountPoint()
FileSystemInfo
getMountPoint
in interface FileSystemInfo
public java.lang.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