|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.api.ArchivePaths
public final class ArchivePaths
A Factory for ArchivePath
creation. Instances
using this shorthand class
will be created using the ClassLoader
associated with
the default Domain
's Configuration
.
Method Summary | |
---|---|
static ArchivePath |
create(ArchivePath basePath,
ArchivePath context)
Creates a new ArchivePath using the specified base
and specified relative context. |
static ArchivePath |
create(ArchivePath basePath,
java.lang.String context)
Creates a new ArchivePath using the specified base
and specified relative context. |
static ArchivePath |
create(java.lang.String context)
Creates a new ArchivePath with the specified context |
static ArchivePath |
create(java.lang.String basePath,
ArchivePath context)
Creates a new ArchivePath using the specified base
and specified relative context. |
static ArchivePath |
create(java.lang.String basePath,
java.lang.String context)
Creates a new ArchivePath using the specified base
and specified relative context. |
static ArchivePath |
root()
Creates a new ArchivePath 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 ArchivePath root()
ArchivePath
representing the root path (/).
public static ArchivePath create(java.lang.String context)
ArchivePath
with the specified context
context
- The context which this path represents. Null or
blank represents the root. Relative paths will be adjusted
to absolute form.
public static ArchivePath create(java.lang.String basePath, java.lang.String context)
ArchivePath
using the specified base
and specified relative context.
basePath
- A absolute pathcontext
- A relative path to basePath
public static ArchivePath create(java.lang.String basePath, ArchivePath context)
ArchivePath
using the specified base
and specified relative context.
basePath
- A absolute pathcontext
- A relative path to basePath
public static ArchivePath create(ArchivePath basePath, java.lang.String context)
ArchivePath
using the specified base
and specified relative context.
basePath
- A absolute pathcontext
- A relative path to basePath
public static ArchivePath create(ArchivePath basePath, ArchivePath context)
ArchivePath
using the specified base
and specified relative 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 |