Class PathUtil.PathImpl

  • All Implemented Interfaces:
    Path
    Enclosing class:
    PathUtil

    public static class PathUtil.PathImpl
    extends java.lang.Object
    implements Path
    • Constructor Summary

      Constructors 
      Constructor Description
      PathImpl​(java.lang.String pathString)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String getName()  
      java.lang.String getPath()  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PathImpl

        public PathImpl​(java.lang.String pathString)
    • Method Detail

      • getPath

        public java.lang.String getPath()
        Specified by:
        getPath in interface Path
        Returns:
        the path as a string
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface Path
        Returns:
        the last component of the path
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object