Class JGitFSPath

  • All Implemented Interfaces:
    Comparable<org.uberfire.java.nio.file.Path>, Iterable<org.uberfire.java.nio.file.Path>, org.uberfire.java.nio.base.FSPath, org.uberfire.java.nio.file.Path, org.uberfire.java.nio.file.Watchable

    public class JGitFSPath
    extends Object
    implements org.uberfire.java.nio.base.FSPath
    • Method Detail

      • getFileSystem

        public org.uberfire.java.nio.file.FileSystem getFileSystem()
        Specified by:
        getFileSystem in interface org.uberfire.java.nio.file.Path
      • isAbsolute

        public boolean isAbsolute()
        Specified by:
        isAbsolute in interface org.uberfire.java.nio.file.Path
      • getRoot

        public org.uberfire.java.nio.file.Path getRoot()
        Specified by:
        getRoot in interface org.uberfire.java.nio.file.Path
      • getFileName

        public org.uberfire.java.nio.file.Path getFileName()
        Specified by:
        getFileName in interface org.uberfire.java.nio.file.Path
      • getParent

        public org.uberfire.java.nio.file.Path getParent()
        Specified by:
        getParent in interface org.uberfire.java.nio.file.Path
      • getNameCount

        public int getNameCount()
        Specified by:
        getNameCount in interface org.uberfire.java.nio.file.Path
      • startsWith

        public boolean startsWith​(org.uberfire.java.nio.file.Path other)
        Specified by:
        startsWith in interface org.uberfire.java.nio.file.Path
      • startsWith

        public boolean startsWith​(String other)
                           throws org.uberfire.java.nio.file.InvalidPathException
        Specified by:
        startsWith in interface org.uberfire.java.nio.file.Path
        Throws:
        org.uberfire.java.nio.file.InvalidPathException
      • endsWith

        public boolean endsWith​(org.uberfire.java.nio.file.Path other)
        Specified by:
        endsWith in interface org.uberfire.java.nio.file.Path
      • endsWith

        public boolean endsWith​(String other)
                         throws org.uberfire.java.nio.file.InvalidPathException
        Specified by:
        endsWith in interface org.uberfire.java.nio.file.Path
        Throws:
        org.uberfire.java.nio.file.InvalidPathException
      • normalize

        public org.uberfire.java.nio.file.Path normalize()
        Specified by:
        normalize in interface org.uberfire.java.nio.file.Path
      • resolve

        public org.uberfire.java.nio.file.Path resolve​(org.uberfire.java.nio.file.Path other)
        Specified by:
        resolve in interface org.uberfire.java.nio.file.Path
      • resolve

        public org.uberfire.java.nio.file.Path resolve​(String other)
                                                throws org.uberfire.java.nio.file.InvalidPathException
        Specified by:
        resolve in interface org.uberfire.java.nio.file.Path
        Throws:
        org.uberfire.java.nio.file.InvalidPathException
      • resolveSibling

        public org.uberfire.java.nio.file.Path resolveSibling​(org.uberfire.java.nio.file.Path other)
        Specified by:
        resolveSibling in interface org.uberfire.java.nio.file.Path
      • resolveSibling

        public org.uberfire.java.nio.file.Path resolveSibling​(String other)
                                                       throws org.uberfire.java.nio.file.InvalidPathException
        Specified by:
        resolveSibling in interface org.uberfire.java.nio.file.Path
        Throws:
        org.uberfire.java.nio.file.InvalidPathException
      • relativize

        public org.uberfire.java.nio.file.Path relativize​(org.uberfire.java.nio.file.Path other)
                                                   throws IllegalArgumentException
        Specified by:
        relativize in interface org.uberfire.java.nio.file.Path
        Throws:
        IllegalArgumentException
      • toUri

        public URI toUri()
                  throws org.uberfire.java.nio.IOException,
                         SecurityException
        Specified by:
        toUri in interface org.uberfire.java.nio.file.Path
        Throws:
        org.uberfire.java.nio.IOException
        SecurityException
      • toAbsolutePath

        public org.uberfire.java.nio.file.Path toAbsolutePath()
                                                       throws org.uberfire.java.nio.IOException,
                                                              SecurityException
        Specified by:
        toAbsolutePath in interface org.uberfire.java.nio.file.Path
        Throws:
        org.uberfire.java.nio.IOException
        SecurityException
      • toRealPath

        public org.uberfire.java.nio.file.Path toRealPath​(org.uberfire.java.nio.file.LinkOption... options)
                                                   throws org.uberfire.java.nio.IOException,
                                                          SecurityException
        Specified by:
        toRealPath in interface org.uberfire.java.nio.file.Path
        Throws:
        org.uberfire.java.nio.IOException
        SecurityException
      • compareTo

        public int compareTo​(org.uberfire.java.nio.file.Path path)
        Specified by:
        compareTo in interface Comparable<org.uberfire.java.nio.file.Path>
      • iterator

        public Iterator<org.uberfire.java.nio.file.Path> iterator()
        Specified by:
        iterator in interface Iterable<org.uberfire.java.nio.file.Path>