KIE NIO.2 :: Model 6.0.0.CR4-Pre1

org.kie.commons.java.nio.file
Interface FileStore


public interface FileStore


Method Summary
 Object getAttribute(String attribute)
           
<V extends FileStoreAttributeView>
V
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()
           
 

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
Throws:
UnsupportedOperationException
IOException

KIE NIO.2 :: Model 6.0.0.CR4-Pre1

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.