KIE NIO.2 :: JGIT Impl 6.0.0.Beta2

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

java.lang.Object
  extended by org.kie.commons.java.nio.base.AbstractPath<JGitFileSystem>
      extended by org.kie.commons.java.nio.fs.jgit.JGitPathImpl
All Implemented Interfaces:
Comparable<Path>, Iterable<Path>, AttrHolder, SegmentedPath, Path, Watchable

public class JGitPathImpl
extends AbstractPath<JGitFileSystem>
implements SegmentedPath


Nested Class Summary
 
Nested classes/interfaces inherited from class org.kie.commons.java.nio.base.AbstractPath
AbstractPath.RootInfo
 
Field Summary
static String DEFAULT_REF_TREE
           
 
Fields inherited from class org.kie.commons.java.nio.base.AbstractPath
attrsStorage, DEFAULT_WINDOWS_DRIVER, file, fs, host, isAbsolute, isNormalized, isRealPath, isRoot, offsets, path, toStringFormat, usesWindowsFormat, WINDOWS_DRIVER
 
Method Summary
static JGitPathImpl create(JGitFileSystem fs, String path, String host, boolean isRealPath)
           
static JGitPathImpl create(JGitFileSystem fs, String path, String host, org.eclipse.jgit.lib.ObjectId id, boolean isRealPath)
           
static JGitPathImpl createRoot(JGitFileSystem fs, String path, String host, boolean isRealPath)
           
protected  String defaultDirectory()
           
 String getPath()
           
 String getRefTree()
           
 String getSegmentId()
           
 boolean isRegularFile()
           
protected  Path newPath(JGitFileSystem fs, String substring, String host, boolean isRealPath, boolean isNormalized)
           
protected  Path newRoot(JGitFileSystem fs, String substring, String host, boolean realPath)
           
protected  AbstractPath.RootInfo setupRoot(JGitFileSystem fs, String pathx, String host, boolean isRoot)
           
 File toFile()
           
 
Methods inherited from class org.kie.commons.java.nio.base.AbstractPath
addAttrView, clearCache, compareTo, endsWith, endsWith, equals, getAttrStorage, getAttrView, getAttrView, getFileName, getFileSystem, getHost, getName, getNameCount, getParent, getRoot, hashCode, isAbsolute, isRealPath, iterator, normalize, register, register, relativize, resolve, resolve, resolveSibling, resolveSibling, startsWith, startsWith, subpath, toAbsolutePath, toRealPath, toString, toString, toUri
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_REF_TREE

public static final String DEFAULT_REF_TREE
See Also:
Constant Field Values
Method Detail

setupRoot

protected AbstractPath.RootInfo setupRoot(JGitFileSystem fs,
                                          String pathx,
                                          String host,
                                          boolean isRoot)
Specified by:
setupRoot in class AbstractPath<JGitFileSystem>

defaultDirectory

protected String defaultDirectory()
Specified by:
defaultDirectory in class AbstractPath<JGitFileSystem>

newRoot

protected Path newRoot(JGitFileSystem fs,
                       String substring,
                       String host,
                       boolean realPath)
Specified by:
newRoot in class AbstractPath<JGitFileSystem>

newPath

protected Path newPath(JGitFileSystem fs,
                       String substring,
                       String host,
                       boolean isRealPath,
                       boolean isNormalized)
Specified by:
newPath in class AbstractPath<JGitFileSystem>

create

public static JGitPathImpl create(JGitFileSystem fs,
                                  String path,
                                  String host,
                                  org.eclipse.jgit.lib.ObjectId id,
                                  boolean isRealPath)

create

public static JGitPathImpl create(JGitFileSystem fs,
                                  String path,
                                  String host,
                                  boolean isRealPath)

createRoot

public static JGitPathImpl createRoot(JGitFileSystem fs,
                                      String path,
                                      String host,
                                      boolean isRealPath)

toFile

public File toFile()
            throws UnsupportedOperationException
Specified by:
toFile in interface Path
Throws:
UnsupportedOperationException

getRefTree

public String getRefTree()

getPath

public String getPath()

isRegularFile

public boolean isRegularFile()
                      throws IllegalAccessError,
                             SecurityException
Throws:
IllegalAccessError
SecurityException

getSegmentId

public String getSegmentId()
Specified by:
getSegmentId in interface SegmentedPath

KIE NIO.2 :: JGIT Impl 6.0.0.Beta2

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