Interface TPath

All Superinterfaces:
Comparable<TPath>, Iterable<TPath>
All Known Implementing Classes:
TDefaultPath

public interface TPath extends Comparable<TPath>, Iterable<TPath>
  • Method Details

    • of

      static TPath of(String first, String... more)
    • of

      static TPath of(TURI uri)
    • getFileSystem

      TFileSystem getFileSystem()
    • isAbsolute

      boolean isAbsolute()
    • getRoot

      TPath getRoot()
    • getFileName

      TPath getFileName()
    • getParent

      TPath getParent()
    • getNameCount

      int getNameCount()
    • getName

      TPath getName(int index)
    • subpath

      TPath subpath(int beginIndex, int endIndex)
    • startsWith

      boolean startsWith(TPath other)
    • startsWith

      default boolean startsWith(String other)
    • endsWith

      boolean endsWith(TPath other)
    • endsWith

      default boolean endsWith(String other)
    • normalize

      TPath normalize()
    • resolve

      TPath resolve(TPath other)
    • resolve

      default TPath resolve(String other)
    • resolveSibling

      default TPath resolveSibling(TPath other)
    • resolveSibling

      default TPath resolveSibling(String other)
    • relativize

      TPath relativize(TPath other)
    • toUri

      TURI toUri()
    • toAbsolutePath

      TPath toAbsolutePath()
    • toRealPath

      TPath toRealPath(TLinkOption... options) throws IOException
      Throws:
      IOException
    • compareTo

      int compareTo(TPath o)
      Specified by:
      compareTo in interface Comparable<TPath>
    • toFile

      default File toFile()