org.kie.commons.java.nio.file
public interface 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() |
String name()
String type()
boolean isReadOnly()
long getTotalSpace() throws IOException
IOException
long getUsableSpace() throws IOException
IOException
long getUnallocatedSpace() throws IOException
IOException
boolean supportsFileAttributeView(Class<? extends FileAttributeView> type)
boolean supportsFileAttributeView(String name)
<V extends FileStoreAttributeView> V getFileStoreAttributeView(Class<V> type)
Object getAttribute(String attribute) throws UnsupportedOperationException, IOException
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.