org.rundeck.storage.api
Class PathUtil.PathImpl
java.lang.Object
org.rundeck.storage.api.PathUtil.PathImpl
- All Implemented Interfaces:
- Path
- Enclosing class:
- PathUtil
public static class PathUtil.PathImpl
- extends java.lang.Object
- implements Path
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
PathUtil.PathImpl
public PathUtil.PathImpl(java.lang.String pathString)
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