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.booleanReturns true if this file system preserves file name case.booleanReturns true if this file system is performance case sensitive searches.booleanisRemote()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:FileSystemInfoReturns the operating system specific name for this file system.- Specified by:
getDeviceNamein interfaceFileSystemInfo
-
getMountPoint
Description copied from interface:FileSystemInfoReturns the root directory of this file system.- Specified by:
getMountPointin interfaceFileSystemInfo
-
getFileSystemType
Description copied from interface:FileSystemInfoReturns the operating system specific name for the type of this file system.- Specified by:
getFileSystemTypein interfaceFileSystemInfo
-
isRemote
public boolean isRemote()Description copied from interface:FileSystemInfoReturns true if this file system is a remote file system, or false if local.- Specified by:
isRemotein interfaceFileSystemInfo
-
isCaseSensitive
public boolean isCaseSensitive()Description copied from interface:FileSystemInfoReturns true if this file system is performance case sensitive searches.- Specified by:
isCaseSensitivein interfaceFileSystemInfo
-
isCasePreserving
public boolean isCasePreserving()Description copied from interface:FileSystemInfoReturns true if this file system preserves file name case.- Specified by:
isCasePreservingin interfaceFileSystemInfo
-