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