Package org.uberfire.java.nio.fs.jgit
Class JGitPathImpl
- java.lang.Object
-
- org.uberfire.java.nio.base.AbstractPath<JGitFileSystem>
-
- org.uberfire.java.nio.fs.jgit.JGitPathImpl
-
- All Implemented Interfaces:
Comparable<org.uberfire.java.nio.file.Path>,Iterable<org.uberfire.java.nio.file.Path>,org.uberfire.java.nio.base.AttrHolder,org.uberfire.java.nio.base.SegmentedPath,org.uberfire.java.nio.file.Path,org.uberfire.java.nio.file.Watchable
public class JGitPathImpl extends org.uberfire.java.nio.base.AbstractPath<JGitFileSystem> implements org.uberfire.java.nio.base.SegmentedPath
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_REF_TREE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JGitPathImplcreate(JGitFileSystem fs, String path, String host, boolean isRealPath)static JGitPathImplcreate(JGitFileSystem fs, String path, String host, org.eclipse.jgit.lib.ObjectId id, boolean isRealPath)static JGitPathImplcreateFSDirect(JGitFileSystem fs)static JGitPathImplcreateRoot(JGitFileSystem fs, String path, String host, boolean isRealPath)protected StringdefaultDirectory()StringgetPath()StringgetRefTree()StringgetSegmentId()booleanisRegularFile()protected org.uberfire.java.nio.file.PathnewPath(JGitFileSystem fs, String substring, String host, boolean isRealPath, boolean isNormalized)protected org.uberfire.java.nio.file.PathnewRoot(JGitFileSystem fs, String substring, String host, boolean realPath)protected org.uberfire.java.nio.base.AbstractPath.RootInfosetupRoot(JGitFileSystem fs, String pathx, String host, boolean isRoot)FiletoFile()-
Methods inherited from class org.uberfire.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
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
DEFAULT_REF_TREE
public static final String DEFAULT_REF_TREE
- See Also:
- Constant Field Values
-
-
Method Detail
-
setupRoot
protected org.uberfire.java.nio.base.AbstractPath.RootInfo setupRoot(JGitFileSystem fs, String pathx, String host, boolean isRoot)
- Specified by:
setupRootin classorg.uberfire.java.nio.base.AbstractPath<JGitFileSystem>
-
defaultDirectory
protected String defaultDirectory()
- Specified by:
defaultDirectoryin classorg.uberfire.java.nio.base.AbstractPath<JGitFileSystem>
-
newRoot
protected org.uberfire.java.nio.file.Path newRoot(JGitFileSystem fs, String substring, String host, boolean realPath)
- Specified by:
newRootin classorg.uberfire.java.nio.base.AbstractPath<JGitFileSystem>
-
newPath
protected org.uberfire.java.nio.file.Path newPath(JGitFileSystem fs, String substring, String host, boolean isRealPath, boolean isNormalized)
- Specified by:
newPathin classorg.uberfire.java.nio.base.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)
-
createFSDirect
public static JGitPathImpl createFSDirect(JGitFileSystem fs)
-
toFile
public File toFile()
- Specified by:
toFilein interfaceorg.uberfire.java.nio.file.Path
-
getRefTree
public String getRefTree()
-
getPath
public String getPath()
-
isRegularFile
public boolean isRegularFile() throws IllegalAccessError, SecurityException- Throws:
IllegalAccessErrorSecurityException
-
getSegmentId
public String getSegmentId()
- Specified by:
getSegmentIdin interfaceorg.uberfire.java.nio.base.SegmentedPath
-
-