org.kie.commons.java.nio.file
Interface FileStore
public interface FileStore
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
- Throws:
UnsupportedOperationException
IOException
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.