KIE NIO.2 :: JGIT Impl 6.0.0.Beta2

org.kie.commons.java.nio.fs.jgit
Class JGitFileStore

java.lang.Object
  extended by org.kie.commons.java.nio.fs.jgit.JGitFileStore
All Implemented Interfaces:
FileStore

public class JGitFileStore
extends Object
implements FileStore


Method Summary
 boolean equals(Object o)
           
 Object getAttribute(String attribute)
           
<V extends FileStoreAttributeView>
V
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()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

name

public String name()
Specified by:
name in interface FileStore

type

public String type()
Specified by:
type in interface FileStore

isReadOnly

public boolean isReadOnly()
Specified by:
isReadOnly in interface FileStore

getTotalSpace

public long getTotalSpace()
                   throws IOException
Specified by:
getTotalSpace in interface FileStore
Throws:
IOException

getUsableSpace

public long getUsableSpace()
                    throws IOException
Specified by:
getUsableSpace in interface FileStore
Throws:
IOException

getUnallocatedSpace

public long getUnallocatedSpace()
                         throws IOException
Specified by:
getUnallocatedSpace in interface FileStore
Throws:
IOException

supportsFileAttributeView

public boolean supportsFileAttributeView(Class<? extends FileAttributeView> type)
Specified by:
supportsFileAttributeView in interface FileStore

supportsFileAttributeView

public boolean supportsFileAttributeView(String name)
Specified by:
supportsFileAttributeView in interface FileStore

getFileStoreAttributeView

public <V extends FileStoreAttributeView> V getFileStoreAttributeView(Class<V> type)
Specified by:
getFileStoreAttributeView in interface FileStore

getAttribute

public Object getAttribute(String attribute)
                    throws UnsupportedOperationException,
                           IOException
Specified by:
getAttribute in interface FileStore
Throws:
UnsupportedOperationException
IOException

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

KIE NIO.2 :: JGIT Impl 6.0.0.Beta2

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