Class DefaultFileSystemInfo
java.lang.Object
net.rubygrapefruit.platform.internal.DefaultFileSystemInfo
- All Implemented Interfaces:
FileSystemInfo
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultFileSystemInfo
(File mountPoint, String fileSystemType, String deviceName, boolean remote, boolean caseSensitive, boolean casePreserving) -
Method Summary
Modifier and TypeMethodDescriptionReturns the operating system specific name for this file system.Returns the operating system specific name for the type of this file system.Returns the root directory of this file system.boolean
Returns true if this file system preserves file name case.boolean
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.
-
Constructor Details
-
DefaultFileSystemInfo
-
-
Method Details
-
getDeviceName
Description copied from interface:FileSystemInfo
Returns the operating system specific name for this file system.- Specified by:
getDeviceName
in interfaceFileSystemInfo
-
getMountPoint
Description copied from interface:FileSystemInfo
Returns the root directory of this file system.- Specified by:
getMountPoint
in interfaceFileSystemInfo
-
getFileSystemType
Description copied from interface:FileSystemInfo
Returns the operating system specific name for the type of this file system.- Specified by:
getFileSystemType
in interfaceFileSystemInfo
-
isRemote
public boolean isRemote()Description copied from interface:FileSystemInfo
Returns true if this file system is a remote file system, or false if local.- Specified by:
isRemote
in interfaceFileSystemInfo
-
isCaseSensitive
public boolean isCaseSensitive()Description copied from interface:FileSystemInfo
Returns true if this file system is performance case sensitive searches.- Specified by:
isCaseSensitive
in interfaceFileSystemInfo
-
isCasePreserving
public boolean isCasePreserving()Description copied from interface:FileSystemInfo
Returns true if this file system preserves file name case.- Specified by:
isCasePreserving
in interfaceFileSystemInfo
-