|
ShrinkWrap Aggregator and Build Parent 1.0.0-cr-1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.impl.base.path.BasicPath
public class BasicPath
A Path which may be optionally prefixed with some common namespace context at construction time. Thread-safe.
Constructor Summary | |
---|---|
BasicPath()
Creates a new Path representing the root context |
|
BasicPath(ArchivePath basePath,
ArchivePath context)
Creates a new Path using the specified base and specified relative context. |
|
BasicPath(ArchivePath basePath,
String context)
Creates a new Path using the specified base and specified relative context. |
|
BasicPath(String context)
Creates a new Path with the specified context |
|
BasicPath(String basePath,
ArchivePath context)
Creates a new Path using the specified base and specified relative context. |
|
BasicPath(String basePath,
String context)
Creates a new Path using the specified base and specified relative context. |
Method Summary | |
---|---|
int |
compareTo(ArchivePath path)
|
boolean |
equals(Object obj)
|
String |
get()
Obtains the context which this ArchivePath represents |
ArchivePath |
getParent()
Obtains the parent of this Path, if exists, else null. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BasicPath()
public BasicPath(String context)
context
- The context which this path represents. Null or
blank represents the root. Relative paths will be adjusted
to absolute form.public BasicPath(ArchivePath basePath, ArchivePath context)
basePath
- context
- public BasicPath(ArchivePath basePath, String context)
basePath
- context
- public BasicPath(String basePath, ArchivePath context)
basePath
- context
- public BasicPath(String basePath, String context)
basePath
- context
- Method Detail |
---|
public String get()
ArchivePath
represents
get
in interface ArchivePath
ArchivePath.get()
public ArchivePath getParent()
getParent
in interface ArchivePath
ArchivePath.getParent()
public int compareTo(ArchivePath path)
compareTo
in interface Comparable<ArchivePath>
Comparable.compareTo(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public String toString()
toString
in class Object
Object.toString()
|
ShrinkWrap Aggregator and Build Parent 1.0.0-cr-1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |