public class JGitPathImpl extends AbstractPath<JGitFileSystem> implements SegmentedPath
AbstractPath.RootInfo
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_REF_TREE |
attrsStorage, DEFAULT_WINDOWS_DRIVER, file, fs, host, isAbsolute, isNormalized, isRealPath, isRoot, offsets, path, toStringFormat, usesWindowsFormat, WINDOWS_DRIVER
Modifier and Type | Method and Description |
---|---|
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 |
createFSDirect(JGitFileSystem fs) |
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() |
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
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public static final String DEFAULT_REF_TREE
protected AbstractPath.RootInfo setupRoot(JGitFileSystem fs, String pathx, String host, boolean isRoot)
setupRoot
in class AbstractPath<JGitFileSystem>
protected String defaultDirectory()
defaultDirectory
in class AbstractPath<JGitFileSystem>
protected Path newRoot(JGitFileSystem fs, String substring, String host, boolean realPath)
newRoot
in class AbstractPath<JGitFileSystem>
protected Path newPath(JGitFileSystem fs, String substring, String host, boolean isRealPath, boolean isNormalized)
newPath
in class AbstractPath<JGitFileSystem>
public static JGitPathImpl create(JGitFileSystem fs, String path, String host, org.eclipse.jgit.lib.ObjectId id, boolean isRealPath)
public static JGitPathImpl create(JGitFileSystem fs, String path, String host, boolean isRealPath)
public static JGitPathImpl createRoot(JGitFileSystem fs, String path, String host, boolean isRealPath)
public static JGitPathImpl createFSDirect(JGitFileSystem fs)
public String getRefTree()
public String getPath()
public boolean isRegularFile() throws IllegalAccessError, SecurityException
IllegalAccessError
SecurityException
public String getSegmentId()
getSegmentId
in interface SegmentedPath
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.