public class SftpFileStore extends FileStore
Constructor and Description |
---|
SftpFileStore(String name,
SftpFileSystem fs) |
Modifier and Type | Method and Description |
---|---|
Object |
getAttribute(String attribute) |
<V extends FileStoreAttributeView> |
getFileStoreAttributeView(Class<V> type) |
SftpFileSystem |
getFileSystem() |
long |
getTotalSpace() |
long |
getUnallocatedSpace() |
long |
getUsableSpace() |
boolean |
isReadOnly() |
String |
name() |
boolean |
supportsFileAttributeView(Class<? extends FileAttributeView> type) |
boolean |
supportsFileAttributeView(String name) |
String |
type() |
public SftpFileStore(String name, SftpFileSystem fs)
public final SftpFileSystem getFileSystem()
public boolean isReadOnly()
isReadOnly
in class FileStore
public long getTotalSpace() throws IOException
getTotalSpace
in class FileStore
IOException
public long getUsableSpace() throws IOException
getUsableSpace
in class FileStore
IOException
public long getUnallocatedSpace() throws IOException
getUnallocatedSpace
in class FileStore
IOException
public boolean supportsFileAttributeView(Class<? extends FileAttributeView> type)
supportsFileAttributeView
in class FileStore
public boolean supportsFileAttributeView(String name)
supportsFileAttributeView
in class FileStore
public <V extends FileStoreAttributeView> V getFileStoreAttributeView(Class<V> type)
getFileStoreAttributeView
in class FileStore
public Object getAttribute(String attribute) throws IOException
getAttribute
in class FileStore
IOException
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.