public class Path
extends java.lang.Object
/customers/2012
is 2012
and "customers"
, respectively.Constructor and Description |
---|
Path(java.lang.String name,
java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
asURI()
Returns the current resource's path as a URI.
|
java.lang.String |
getId()
Returns the current path's ID.
|
java.lang.String |
getName()
Returns the current path's name.
|
public java.lang.String asURI()
public java.lang.String getId()
public java.lang.String getName()