Package org.uberfire.java.nio.file
Interface FileStore
-
public interface FileStore
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectgetAttribute(String attribute)<V extends FileStoreAttributeView>
VgetFileStoreAttributeView(Class<V> type)longgetTotalSpace()longgetUnallocatedSpace()longgetUsableSpace()booleanisReadOnly()Stringname()booleansupportsFileAttributeView(Class<? extends FileAttributeView> type)booleansupportsFileAttributeView(String name)Stringtype()
-
-
-
Method Detail
-
name
String name()
-
type
String type()
-
isReadOnly
boolean isReadOnly()
-
getTotalSpace
long getTotalSpace() throws IOException- Throws:
IOException
-
getUsableSpace
long getUsableSpace() throws IOException- Throws:
IOException
-
getUnallocatedSpace
long getUnallocatedSpace() throws IOException- Throws:
IOException
-
supportsFileAttributeView
boolean supportsFileAttributeView(Class<? extends FileAttributeView> type)
-
supportsFileAttributeView
boolean supportsFileAttributeView(String name)
-
getFileStoreAttributeView
<V extends FileStoreAttributeView> V getFileStoreAttributeView(Class<V> type)
-
getAttribute
Object getAttribute(String attribute) throws UnsupportedOperationException, IOException
-
-