KIE NIO.2 :: JGIT Impl 6.0.0.CR1

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:
org.kie.commons.java.nio.file.FileStore

public class JGitFileStore
extends Object
implements org.kie.commons.java.nio.file.FileStore


Method Summary
 boolean equals(Object o)
           
 Object getAttribute(String attribute)
           
<V extends org.kie.commons.java.nio.file.attribute.FileStoreAttributeView>
V
getFileStoreAttributeView(Class<V> type)
           
 long getTotalSpace()
           
 long getUnallocatedSpace()
           
 long getUsableSpace()
           
 int hashCode()
           
 boolean isReadOnly()
           
 String name()
           
 boolean supportsFileAttributeView(Class<? extends org.kie.commons.java.nio.file.attribute.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 org.kie.commons.java.nio.file.FileStore

type

public String type()
Specified by:
type in interface org.kie.commons.java.nio.file.FileStore

isReadOnly

public boolean isReadOnly()
Specified by:
isReadOnly in interface org.kie.commons.java.nio.file.FileStore

getTotalSpace

public long getTotalSpace()
                   throws org.kie.commons.java.nio.IOException
Specified by:
getTotalSpace in interface org.kie.commons.java.nio.file.FileStore
Throws:
org.kie.commons.java.nio.IOException

getUsableSpace

public long getUsableSpace()
                    throws org.kie.commons.java.nio.IOException
Specified by:
getUsableSpace in interface org.kie.commons.java.nio.file.FileStore
Throws:
org.kie.commons.java.nio.IOException

getUnallocatedSpace

public long getUnallocatedSpace()
                         throws org.kie.commons.java.nio.IOException
Specified by:
getUnallocatedSpace in interface org.kie.commons.java.nio.file.FileStore
Throws:
org.kie.commons.java.nio.IOException

supportsFileAttributeView

public boolean supportsFileAttributeView(Class<? extends org.kie.commons.java.nio.file.attribute.FileAttributeView> type)
Specified by:
supportsFileAttributeView in interface org.kie.commons.java.nio.file.FileStore

supportsFileAttributeView

public boolean supportsFileAttributeView(String name)
Specified by:
supportsFileAttributeView in interface org.kie.commons.java.nio.file.FileStore

getFileStoreAttributeView

public <V extends org.kie.commons.java.nio.file.attribute.FileStoreAttributeView> V getFileStoreAttributeView(Class<V> type)
Specified by:
getFileStoreAttributeView in interface org.kie.commons.java.nio.file.FileStore

getAttribute

public Object getAttribute(String attribute)
                    throws UnsupportedOperationException,
                           org.kie.commons.java.nio.IOException
Specified by:
getAttribute in interface org.kie.commons.java.nio.file.FileStore
Throws:
UnsupportedOperationException
org.kie.commons.java.nio.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.CR1

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