org.sonatype.gshell.command.resolver
Class NodePath
java.lang.Object
org.sonatype.gshell.command.resolver.NodePath
public class NodePath
- extends Object
Representation of a Node's path.
- Since:
- 2.5
- Author:
- Jason Dillon
NodePath
public NodePath(String path)
isAbsolute
public boolean isAbsolute()
first
public String first()
last
public String last()
parent
public NodePath parent()
child
public NodePath child(String name)
normalize
public NodePath normalize()
split
public String[] split()
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2008-2011 Sonatype. All Rights Reserved.