KIE NIO.2 :: JGIT Impl 6.0.0.Alpha9

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

java.lang.Object
  extended by org.kie.commons.java.nio.fs.jgit.JGitFileSystem
All Implemented Interfaces:
Closeable, FileSystem

public class JGitFileSystem
extends Object
implements FileSystem


Method Summary
 void close()
           
 boolean equals(Object o)
           
 org.eclipse.jgit.transport.CredentialsProvider getCredential()
           
 Iterable<FileStore> getFileStores()
           
 String getName()
           
 Path getPath(String first, String... more)
           
 PathMatcher getPathMatcher(String syntaxAndPattern)
           
 Iterable<Path> getRootDirectories()
           
 String getSeparator()
           
 UserPrincipalLookupService getUserPrincipalLookupService()
           
 org.eclipse.jgit.api.Git gitRepo()
           
 int hashCode()
           
 boolean isOpen()
           
 boolean isReadOnly()
           
 WatchService newWatchService()
           
 FileSystemProvider provider()
           
 Set<String> supportedFileAttributeViews()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public String getName()

gitRepo

public org.eclipse.jgit.api.Git gitRepo()

getCredential

public org.eclipse.jgit.transport.CredentialsProvider getCredential()

provider

public FileSystemProvider provider()
Specified by:
provider in interface FileSystem

isOpen

public boolean isOpen()
Specified by:
isOpen in interface FileSystem

isReadOnly

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

getSeparator

public String getSeparator()
Specified by:
getSeparator in interface FileSystem

getRootDirectories

public Iterable<Path> getRootDirectories()
Specified by:
getRootDirectories in interface FileSystem

getFileStores

public Iterable<FileStore> getFileStores()
Specified by:
getFileStores in interface FileSystem

supportedFileAttributeViews

public Set<String> supportedFileAttributeViews()
Specified by:
supportedFileAttributeViews in interface FileSystem

getPath

public Path getPath(String first,
                    String... more)
             throws InvalidPathException
Specified by:
getPath in interface FileSystem
Throws:
InvalidPathException

getPathMatcher

public PathMatcher getPathMatcher(String syntaxAndPattern)
                           throws IllegalArgumentException,
                                  PatternSyntaxException,
                                  UnsupportedOperationException
Specified by:
getPathMatcher in interface FileSystem
Throws:
IllegalArgumentException
PatternSyntaxException
UnsupportedOperationException

getUserPrincipalLookupService

public UserPrincipalLookupService getUserPrincipalLookupService()
                                                         throws UnsupportedOperationException
Specified by:
getUserPrincipalLookupService in interface FileSystem
Throws:
UnsupportedOperationException

newWatchService

public WatchService newWatchService()
                             throws UnsupportedOperationException,
                                    IOException
Specified by:
newWatchService in interface FileSystem
Throws:
UnsupportedOperationException
IOException

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Throws:
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.Alpha9

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