Class DefaultFileSystemInfo

    • 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.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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultFileSystemInfo

        public DefaultFileSystemInfo​(java.io.File mountPoint,
                                     java.lang.String fileSystemType,
                                     java.lang.String deviceName,
                                     boolean remote,
                                     boolean caseSensitive,
                                     boolean casePreserving)
    • Method Detail

      • getDeviceName

        public java.lang.String getDeviceName()
        Description copied from interface: FileSystemInfo
        Returns the operating system specific name for this file system.
        Specified by:
        getDeviceName in interface FileSystemInfo
      • getMountPoint

        public java.io.File getMountPoint()
        Description copied from interface: FileSystemInfo
        Returns the root directory of this file system.
        Specified by:
        getMountPoint in interface FileSystemInfo
      • getFileSystemType

        public java.lang.String getFileSystemType()
        Description copied from interface: FileSystemInfo
        Returns the operating system specific name for the type of this file system.
        Specified by:
        getFileSystemType in interface FileSystemInfo
      • 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 interface FileSystemInfo
      • isCaseSensitive

        public boolean isCaseSensitive()
        Description copied from interface: FileSystemInfo
        Returns true if this file system is performance case sensitive searches.
        Specified by:
        isCaseSensitive in interface FileSystemInfo
      • isCasePreserving

        public boolean isCasePreserving()
        Description copied from interface: FileSystemInfo
        Returns true if this file system preserves file name case.
        Specified by:
        isCasePreserving in interface FileSystemInfo