public class RestFileStore extends FileStore
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String attribute) |
<V extends FileStoreAttributeView> |
getFileStoreAttributeView(Class<V> type) |
long |
getTotalSpace() |
long |
getUnallocatedSpace() |
long |
getUsableSpace() |
boolean |
isReadOnly() |
String |
name() |
boolean |
supportsFileAttributeView(Class<? extends FileAttributeView> type) |
boolean |
supportsFileAttributeView(String name) |
String |
type() |
public boolean isReadOnly()
isReadOnly in class FileStorepublic long getTotalSpace()
throws IOException
getTotalSpace in class FileStoreIOExceptionpublic long getUsableSpace()
throws IOException
getUsableSpace in class FileStoreIOExceptionpublic long getUnallocatedSpace()
throws IOException
getUnallocatedSpace in class FileStoreIOExceptionpublic boolean supportsFileAttributeView(Class<? extends FileAttributeView> type)
supportsFileAttributeView in class FileStorepublic boolean supportsFileAttributeView(String name)
supportsFileAttributeView in class FileStorepublic <V extends FileStoreAttributeView> V getFileStoreAttributeView(Class<V> type)
getFileStoreAttributeView in class FileStorepublic Object getAttribute(String attribute) throws IOException
getAttribute in class FileStoreIOExceptionCopyright © 2020 LSST. All rights reserved.