| Package | Description |
|---|---|
| org.jboss.shrinkwrap.api | |
| org.jboss.shrinkwrap.api.container | |
| org.jboss.shrinkwrap.api.importer |
| Modifier and Type | Method and Description |
|---|---|
static Filter<ArchivePath> |
Filters.exclude(Class<?>... classes)
|
static Filter<ArchivePath> |
Filters.exclude(Package... packages)
|
static Filter<ArchivePath> |
Filters.exclude(String regexp)
|
static Filter<ArchivePath> |
Filters.excludePaths(Collection<String> paths)
Filter that exclude all ArchivePaths that match the given List of paths. |
static Filter<ArchivePath> |
Filters.excludePaths(String... paths)
Filter that exclude all ArchivePaths that match the given List of paths. |
static Filter<ArchivePath> |
Filters.include(Class<?>... classes)
|
static Filter<ArchivePath> |
Filters.include(Package... packages)
|
static Filter<ArchivePath> |
Filters.include(String regexp)
|
static Filter<ArchivePath> |
Filters.includeAll()
Filter that includes all ArchivePaths. |
static Filter<ArchivePath> |
Filters.includePaths(Collection<String> paths)
Filer that include all ArchivePaths that match the given List of paths.. |
static Filter<ArchivePath> |
Filters.includePaths(String... paths)
Filer that include all ArchivePaths that match the given List of paths.. |
| Modifier and Type | Method and Description |
|---|---|
T |
Archive.filter(Filter<ArchivePath> filter)
Obtains all assets matching given filter in this archive as a new Archive.
This is an alias for shallowCopy(Filter). |
<X extends Archive<X>> |
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. |
<X extends Archive<X>> |
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.
|
Archive<T> |
Archive.shallowCopy(Filter<ArchivePath> filter)
Creates a shallow copy of this
Archive based on given filter.Assets from this archive are made available
under the same paths. |
| Modifier and Type | Method and Description |
|---|---|
T |
ClassContainer.addPackages(boolean recursive,
Filter<ArchivePath> filter,
Package... packages)
|
T |
ClassContainer.addPackages(boolean recursive,
Filter<ArchivePath> filter,
String... packages)
|
T |
ClassContainer.deletePackages(boolean recursive,
Filter<ArchivePath> filter,
Package... packages)
|
T |
ClassContainer.deletePackages(boolean recursive,
Filter<ArchivePath> filter,
String... packages)
|
| Modifier and Type | Method and Description |
|---|---|
ExplodedImporter |
ExplodedImporter.importDirectory(File file,
Filter<ArchivePath> filter)
Import a directory structure as a archive.
|
ExplodedImporter |
ExplodedImporter.importDirectory(String fileName,
Filter<ArchivePath> filter)
Import a directory structure as a archive.
|
I |
StreamImporter.importFrom(File file,
Filter<ArchivePath> filter)
Imports provided File as a
Archive. |
I |
StreamImporter.importFrom(InputStream stream,
Filter<ArchivePath> filter)
Imports provided stream as a
Archive. |
Copyright © 2016 JBoss by Red Hat. All rights reserved.