Class SftpFileStore


  • public class SftpFileStore
    extends java.nio.file.FileStore
    • Field Detail

      • name

        private final java.lang.String name
    • Constructor Detail

      • SftpFileStore

        public SftpFileStore​(java.lang.String name,
                             SftpFileSystem fs)
    • Method Detail

      • name

        public java.lang.String name()
        Specified by:
        name in class java.nio.file.FileStore
      • type

        public java.lang.String type()
        Specified by:
        type in class java.nio.file.FileStore
      • isReadOnly

        public boolean isReadOnly()
        Specified by:
        isReadOnly in class java.nio.file.FileStore
      • getTotalSpace

        public long getTotalSpace()
                           throws java.io.IOException
        Specified by:
        getTotalSpace in class java.nio.file.FileStore
        Throws:
        java.io.IOException
      • getUsableSpace

        public long getUsableSpace()
                            throws java.io.IOException
        Specified by:
        getUsableSpace in class java.nio.file.FileStore
        Throws:
        java.io.IOException
      • getUnallocatedSpace

        public long getUnallocatedSpace()
                                 throws java.io.IOException
        Specified by:
        getUnallocatedSpace in class java.nio.file.FileStore
        Throws:
        java.io.IOException
      • supportsFileAttributeView

        public boolean supportsFileAttributeView​(java.lang.Class<? extends java.nio.file.attribute.FileAttributeView> type)
        Specified by:
        supportsFileAttributeView in class java.nio.file.FileStore
      • supportsFileAttributeView

        public boolean supportsFileAttributeView​(java.lang.String name)
        Specified by:
        supportsFileAttributeView in class java.nio.file.FileStore
      • getFileStoreAttributeView

        public <V extends java.nio.file.attribute.FileStoreAttributeView> V getFileStoreAttributeView​(java.lang.Class<V> type)
        Specified by:
        getFileStoreAttributeView in class java.nio.file.FileStore
      • getAttribute

        public java.lang.Object getAttribute​(java.lang.String attribute)
                                      throws java.io.IOException
        Specified by:
        getAttribute in class java.nio.file.FileStore
        Throws:
        java.io.IOException