Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Object |
getAttribute(String attribute) |
<V extends FileStoreAttributeView> |
getFileStoreAttributeView(Class<V> type) |
long |
getTotalSpace() |
long |
getUnallocatedSpace() |
long |
getUsableSpace() |
int |
hashCode() |
boolean |
isReadOnly() |
String |
name() |
boolean |
supportsFileAttributeView(Class<? extends FileAttributeView> type) |
boolean |
supportsFileAttributeView(String name) |
String |
type() |
public boolean isReadOnly()
isReadOnly
in interface FileStore
public long getTotalSpace() throws IOException
getTotalSpace
in interface FileStore
IOException
public long getUsableSpace() throws IOException
getUsableSpace
in interface FileStore
IOException
public long getUnallocatedSpace() throws IOException
getUnallocatedSpace
in interface FileStore
IOException
public boolean supportsFileAttributeView(Class<? extends FileAttributeView> type)
supportsFileAttributeView
in interface FileStore
public boolean supportsFileAttributeView(String name)
supportsFileAttributeView
in interface FileStore
public <V extends FileStoreAttributeView> V getFileStoreAttributeView(Class<V> type)
getFileStoreAttributeView
in interface FileStore
public Object getAttribute(String attribute) throws UnsupportedOperationException, IOException
getAttribute
in interface FileStore
UnsupportedOperationException
IOException
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.