Class DefaultFileSystemInfo
- java.lang.Object
-
- net.rubygrapefruit.platform.internal.DefaultFileSystemInfo
-
- All Implemented Interfaces:
FileSystemInfo
public class DefaultFileSystemInfo extends Object implements FileSystemInfo
-
-
Constructor Summary
Constructors Constructor Description DefaultFileSystemInfo(File mountPoint, String fileSystemType, String deviceName, boolean remote, boolean caseSensitive, boolean casePreserving)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDeviceName()Returns the operating system specific name for this file system.StringgetFileSystemType()Returns the operating system specific name for the type of this file system.FilegetMountPoint()Returns the root directory of this file system.booleanisCasePreserving()Returns true if this file system preserves file name case.booleanisCaseSensitive()Returns 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.
-
-
-
Method Detail
-
getDeviceName
public String getDeviceName()
Description copied from interface:FileSystemInfoReturns the operating system specific name for this file system.- Specified by:
getDeviceNamein interfaceFileSystemInfo
-
getMountPoint
public File getMountPoint()
Description copied from interface:FileSystemInfoReturns the root directory of this file system.- Specified by:
getMountPointin interfaceFileSystemInfo
-
getFileSystemType
public String 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
-
-