org.kie.commons.java.nio.fs.jgit
Class JGitFileSystem
java.lang.Object
org.kie.commons.java.nio.fs.jgit.JGitFileSystem
- All Implemented Interfaces:
- Closeable, FileSystemId, FileSystem
public class JGitFileSystem
- extends Object
- implements FileSystem, FileSystemId
id
public String id()
- Specified by:
id in interface FileSystemId
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
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.