public final class ArchivePaths
extends java.lang.Object
ArchivePath
creation. Instances using this shorthand class will be created using the
ClassLoader
associated with the default Domain
's Configuration
.Modifier and Type | Class and Description |
---|---|
private static class |
ArchivePaths.RootPathWrapper
Singleton wrapper to obtain a root
ArchivePath |
Modifier and Type | Field and Description |
---|---|
private static java.lang.Class<?> |
archivePathImplClass |
private static java.lang.String |
PATH_IMPL |
Modifier | Constructor and Description |
---|---|
private |
ArchivePaths()
No instantiation
|
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,
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. |
private static ArchivePath |
createInstance(java.lang.Class<?>[] argumentTypes,
java.lang.Object[] arguments) |
static ArchivePath |
root()
Creates a new
ArchivePath representing the root path (/). |
private static final java.lang.String PATH_IMPL
private static final java.lang.Class<?> archivePathImplClass
public static ArchivePath root()
ArchivePath
representing the root path (/).public static ArchivePath create(java.lang.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(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 basePathpublic 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 basePathpublic 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 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 basePathprivate static ArchivePath createInstance(java.lang.Class<?>[] argumentTypes, java.lang.Object[] arguments)