Class Path

java.lang.Object
net.thevpc.common.props.Path

public class Path extends Object
  • Method Details

    • root

      public static Path root()
    • of

      public static Path of(String... items)
    • get

      public String get(int index)
    • child

      public Path child(Path path)
    • startsWith

      public boolean startsWith(Path child)
    • append

      public Path append(String... items)
    • append

      public Path append(Path items)
    • parent

      public Path parent()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isEmpty

      public boolean isEmpty()
    • size

      public int size()
    • name

      public String name()
    • last

      public String last()
    • first

      public String first()
    • skipLast

      public Path skipLast()
    • skipFirst

      public Path skipFirst()
    • subPath

      public Path subPath(int from)
    • subPath

      public Path subPath(int from, int to)
    • tail

      public Path tail(int size)
    • head

      public Path head(int size)