|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.api.Paths
public final class Paths
A Factory for Path creation.
Method Summary | |
---|---|
static Path |
create(Path basePath,
Path context)
Creates a new Path using the specified base and specified relative context. |
static Path |
create(Path basePath,
String context)
Creates a new Path using the specified base and specified relative context. |
static Path |
create(String context)
Creates a new Path with the specified context |
static Path |
create(String basePath,
String context)
Creates a new Path using the specified base and specified relative context. |
static Path |
root()
Creates a new Path representing the root path (/). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Path root()
public static Path create(String context)
context
- The context which this path represents. Null or
blank represents the root. Relative paths will be adjusted
to absolute form.
public static Path create(String basePath, String context)
basePath
- A absolute pathcontext
- A relative path to basePath
public static Path create(Path basePath, String context)
basePath
- A absolute pathcontext
- A relative path to basePath
public static Path create(Path basePath, Path context)
basePath
- A absolute pathcontext
- A relative path to basePath
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |