|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.deployment.util.Path
public class Path
A Class that represents a deployment path.
| Constructor Summary | |
|---|---|
Path(java.lang.String path)
|
|
Path(java.lang.String[] components)
|
|
| Method Summary | |
|---|---|
Path |
extend(java.lang.String name)
Get the Path that is this Path extended by one component. |
java.lang.String |
get(int index)
Get the indexth component. |
java.lang.String |
getBaseName()
Get the last component of the Path. |
Path |
getParent()
Get the parent Path of this Path. |
int |
size()
Get the number of components in the path. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Path(java.lang.String path)
public Path(java.lang.String[] components)
| Method Detail |
|---|
public int size()
public java.lang.String get(int index)
index -
public Path getParent()
public java.lang.String getBaseName()
public Path extend(java.lang.String name)
name -
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||