|
ShrinkWrap API 1.0.1 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ArchivePath | |
|---|---|
| org.jboss.shrinkwrap.api | |
| org.jboss.shrinkwrap.api.container | |
| Uses of ArchivePath in org.jboss.shrinkwrap.api |
|---|
| Methods in org.jboss.shrinkwrap.api that return ArchivePath | |
|---|---|
static ArchivePath |
ArchivePaths.create(ArchivePath basePath,
ArchivePath context)
Creates a new ArchivePath using the specified base and specified relative context. |
static ArchivePath |
ArchivePaths.create(ArchivePath basePath,
String context)
Creates a new ArchivePath using the specified base and specified relative context. |
static ArchivePath |
ArchivePaths.create(String context)
Creates a new ArchivePath with the specified context |
static ArchivePath |
ArchivePaths.create(String basePath,
ArchivePath context)
Creates a new ArchivePath using the specified base and specified relative context. |
static ArchivePath |
ArchivePaths.create(String basePath,
String context)
Creates a new ArchivePath using the specified base and specified relative context. |
ArchivePath |
ArchivePath.getParent()
Obtains the parent of this Path, if exists, else null. |
ArchivePath |
Node.getPath()
|
static ArchivePath |
ArchivePaths.root()
Creates a new ArchivePath representing the root path (/). |
| Methods in org.jboss.shrinkwrap.api that return types with arguments of type ArchivePath | |
|---|---|
static Filter<ArchivePath> |
Filters.exclude(Class<?>... classes)
Filter that excludes listed Class. |
static Filter<ArchivePath> |
Filters.exclude(Package... packages)
Filter that includes listed Package. |
static Filter<ArchivePath> |
Filters.exclude(String regexp)
Filter that exclude all ArchivePaths that match a given Regular Expression Pattern. |
Map<ArchivePath,Node> |
Archive.getContent()
Obtains all assets in this archive, along with its respective Path. |
Map<ArchivePath,Node> |
Archive.getContent(Filter<ArchivePath> filter)
Obtains all assets matching given filter in this archive, along with its respective Path. |
static Filter<ArchivePath> |
Filters.include(Class<?>... classes)
Filter that includes listed Class. |
static Filter<ArchivePath> |
Filters.include(Package... packages)
Filter that excludes listed Package. |
static Filter<ArchivePath> |
Filters.include(String regexp)
Filer that include all ArchivePaths that match the given Regular Expression Pattern. |
static Filter<ArchivePath> |
Filters.includeAll()
Filter that includes all ArchivePaths. |
| Methods in org.jboss.shrinkwrap.api with parameters of type ArchivePath | ||
|---|---|---|
T |
Archive.add(Archive<?> archive,
ArchivePath path,
Class<? extends StreamExporter> exporter)
Add an archive under a specific context and maintain the archive name as context path. |
|
T |
Archive.add(Asset asset,
ArchivePath target)
Adds the specified asset under the specified path into the target context |
|
T |
Archive.add(Asset asset,
ArchivePath target,
String name)
Adds the specified asset under the specified target (directory) using the specified name. |
|
T |
Archive.addAsDirectories(ArchivePath... paths)
Adds the specified directories. |
|
T |
Archive.addAsDirectory(ArchivePath path)
Adds the specified directory. |
|
boolean |
Archive.contains(ArchivePath path)
Denotes whether this archive contains a resource at the specified path |
|
static ArchivePath |
ArchivePaths.create(ArchivePath basePath,
ArchivePath context)
Creates a new ArchivePath using the specified base and specified relative context. |
|
static ArchivePath |
ArchivePaths.create(ArchivePath basePath,
String context)
Creates a new ArchivePath using the specified base and specified relative context. |
|
static ArchivePath |
ArchivePaths.create(String basePath,
ArchivePath context)
Creates a new ArchivePath using the specified base and specified relative context. |
|
Node |
Archive.delete(ArchivePath path)
Removes the Node in the Archive at the specified ArchivePath. |
|
Node |
Archive.get(ArchivePath path)
Obtains the Node located at the specified path |
|
|
Archive.getAsType(Class<X> type,
ArchivePath path)
Get a nested Archive as a specific type.The found Archives must have been added as a Archive, no import is performed. |
|
|
Archive.getAsType(Class<X> type,
ArchivePath path,
ArchiveFormat archiveFormat)
Get a nested Archive located in a ArchivePath as a specific type using the specify
ArchiveFormat |
|
T |
Archive.merge(Archive<?> source,
ArchivePath path)
Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path. |
|
T |
Archive.merge(Archive<?> source,
ArchivePath path,
Filter<ArchivePath> filter)
Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path. |
|
| Method parameters in org.jboss.shrinkwrap.api with type arguments of type ArchivePath | ||
|---|---|---|
|
Archive.getAsType(Class<X> type,
Filter<ArchivePath> filter)
Get all nested Archive matching the filter as a specific type.The found Archives must have been added as a Archive, no import is performed. |
|
|
Archive.getAsType(Class<X> type,
Filter<ArchivePath> filter,
ArchiveFormat archiveFormat)
Get all nested Archive matching the filter as a specific type using the specify ArchiveFormat. |
|
Map<ArchivePath,Node> |
Archive.getContent(Filter<ArchivePath> filter)
Obtains all assets matching given filter in this archive, along with its respective Path. |
|
T |
Archive.merge(Archive<?> source,
ArchivePath path,
Filter<ArchivePath> filter)
Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path. |
|
T |
Archive.merge(Archive<?> source,
Filter<ArchivePath> filter)
Merge the contents from an existing archive without maintaining the archive name in the context path. |
|
T |
Archive.merge(Archive<?> source,
String path,
Filter<ArchivePath> filter)
Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path. |
|
| Uses of ArchivePath in org.jboss.shrinkwrap.api.container |
|---|
| Methods in org.jboss.shrinkwrap.api.container with parameters of type ArchivePath | |
|---|---|
T |
EnterpriseContainer.addAsApplicationResource(Asset resource,
ArchivePath target)
Adds a Asset to this Archives application context. |
T |
EnterpriseContainer.addAsApplicationResource(File resource,
ArchivePath target)
Adds a File to this Archives application context. |
T |
EnterpriseContainer.addAsApplicationResource(Package resourcePackage,
String resourceName,
ArchivePath target)
Adds the resource as a resource to a specific path inside the container, returning the container itself. |
T |
EnterpriseContainer.addAsApplicationResource(String resourceName,
ArchivePath target)
Adds a resource to this Archives application context. |
T |
EnterpriseContainer.addAsApplicationResource(URL resource,
ArchivePath target)
Adds a URL to this Archives application context. |
T |
LibraryContainer.addAsLibrary(Asset resource,
ArchivePath target)
Adds the Asset as a library to the container, returning the container itself. |
T |
LibraryContainer.addAsLibrary(File resource,
ArchivePath target)
Adds the File as a library to the container, returning the container itself. |
T |
LibraryContainer.addAsLibrary(String resourceName,
ArchivePath target)
Adds the resource as a library to the container, returning the container itself. |
T |
LibraryContainer.addAsLibrary(URL resource,
ArchivePath target)
Adds the URL as a library to the container, returning the container itself. |
T |
ManifestContainer.addAsManifestResource(Asset resource,
ArchivePath target)
Adds the Asset as a Manifest resource to the container, returning the container itself. |
T |
ManifestContainer.addAsManifestResource(File resource,
ArchivePath target)
Adds the File as a Manifest resource to the container, returning the container itself. |
T |
ManifestContainer.addAsManifestResource(Package resourcePackage,
String resourceName,
ArchivePath target)
Adds the resource as a resource to a specific path inside the container, returning the container itself. |
T |
ManifestContainer.addAsManifestResource(String resourceName,
ArchivePath target)
Adds the resource as a Manifest resource to the container, returning the container itself. |
T |
ManifestContainer.addAsManifestResource(URL resource,
ArchivePath target)
Adds the URL as a Manifest resource to the container, returning the container itself. |
T |
EnterpriseContainer.addAsModule(Asset resource,
ArchivePath targetPath)
Adds a Asset to this Archives module context. |
T |
EnterpriseContainer.addAsModule(File resource,
ArchivePath targetPath)
Adds a File to this Archives module context. |
T |
EnterpriseContainer.addAsModule(String resourceName,
ArchivePath targetPath)
Adds a resource to this Archives module context. |
T |
EnterpriseContainer.addAsModule(URL resource,
ArchivePath targetPath)
Adds a URL to this Archives module context. |
T |
ResourceContainer.addAsResource(Asset resource,
ArchivePath target)
Adds the Asset as a resource to the container, returning the container itself. |
T |
ResourceContainer.addAsResource(File resource,
ArchivePath target)
Adds the File as a resource to the container, returning the container itself. |
T |
ResourceContainer.addAsResource(Package resourcePackage,
String resourceName,
ArchivePath target)
Adds the resource as a resource to a specific path inside the container, returning the container itself. |
T |
ResourceContainer.addAsResource(String resourceName,
ArchivePath target)
Adds the resource with the specified name to the container, returning the container itself. |
T |
ResourceContainer.addAsResource(String resourceName,
ArchivePath target,
ClassLoader classLoader)
Adds the resource as a resource to the container, returning the container itself. |
T |
ResourceContainer.addAsResource(URL resource,
ArchivePath target)
Adds the URL as a resource to the container, returning the container itself. |
T |
WebContainer.addAsWebInfResource(Asset resource,
ArchivePath target)
Adds the Asset as a WEB-INF resource to the container, returning the container itself. |
T |
WebContainer.addAsWebInfResource(File resource,
ArchivePath target)
Adds the File as a WEB-INF resource to the container, returning the container itself. |
T |
WebContainer.addAsWebInfResource(Package resourcePackage,
String resourceName,
ArchivePath target)
Adds the resource as a WEB-INF resource to a specific path inside the container, returning the container itself. |
T |
WebContainer.addAsWebInfResource(String resourceName,
ArchivePath target)
Adds the resource as a WEB-INF resource to the container, returning the container itself. |
T |
WebContainer.addAsWebInfResource(URL resource,
ArchivePath target)
Adds the URL as a WEB-INF resource to the container, returning the container itself. |
T |
WebContainer.addAsWebResource(Asset resource,
ArchivePath target)
Adds the Asset as a Web resource to the container, returning the container itself. |
T |
WebContainer.addAsWebResource(File resource,
ArchivePath target)
Adds the File as a Web resource to the container, returning the container itself. |
T |
WebContainer.addAsWebResource(Package resourcePackage,
String resourceName,
ArchivePath target)
Adds the resource as a resource to a specific path inside the container, returning the container itself. |
T |
WebContainer.addAsWebResource(String resourceName,
ArchivePath target)
Adds the resource as a Web resource to the container, returning the container itself. |
T |
WebContainer.addAsWebResource(URL resource,
ArchivePath target)
Adds the URL as a Web resource to the container, returning the container itself. |
| Method parameters in org.jboss.shrinkwrap.api.container with type arguments of type ArchivePath | |
|---|---|
T |
ClassContainer.addPackages(boolean recursive,
Filter<ArchivePath> filter,
Package... packages)
Adds all classes accepted by the filter in the specified Packages to the Archive. |
T |
ClassContainer.addPackages(boolean recursive,
Filter<ArchivePath> filter,
String... packages)
Adds all classes accepted by the filter in the specified Packages to the Archive. |
|
ShrinkWrap API 1.0.1 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||