public final class ArchivePaths extends Object
ArchivePath
creation. Instances using this shorthand class will be created using the
ClassLoader
associated with the default Domain
's Configuration
.Modifier and Type | Method and Description |
---|---|
static ArchivePath |
create(ArchivePath basePath,
ArchivePath context)
Creates a new
ArchivePath using the specified base and specified relative context. |
static ArchivePath |
create(ArchivePath basePath,
String context)
Creates a new
ArchivePath using the specified base and specified relative context. |
static ArchivePath |
create(String context)
Creates a new
ArchivePath with the specified context |
static ArchivePath |
create(String basePath,
ArchivePath context)
Creates a new
ArchivePath using the specified base and specified relative context. |
static ArchivePath |
create(String basePath,
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 (/). |
public static ArchivePath root()
ArchivePath
representing the root path (/).public static ArchivePath create(String context)
ArchivePath
with the specified contextcontext
- The context which this path represents. Null or blank represents the root. Relative paths will be
adjusted to absolute form.public static ArchivePath create(String basePath, String context)
ArchivePath
using the specified base and specified relative context.basePath
- A absolute pathcontext
- A relative path to basePathpublic static ArchivePath create(String basePath, ArchivePath context)
ArchivePath
using the specified base and specified relative context.basePath
- A absolute pathcontext
- A relative path to basePathpublic static ArchivePath create(ArchivePath basePath, String context)
ArchivePath
using the specified base and specified relative context.basePath
- A absolute pathcontext
- A relative path to basePathpublic static ArchivePath create(ArchivePath basePath, ArchivePath context)
ArchivePath
using the specified base and specified relative context.basePath
- A absolute pathcontext
- A relative path to basePathCopyright © 2016 JBoss by Red Hat. All rights reserved.