Uses of Interface
org.jboss.shrinkwrap.api.Filter
-
-
Uses of Filter in org.jboss.shrinkwrap.api
Methods in org.jboss.shrinkwrap.api that return Filter Modifier and Type Method 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(String... paths)
Filter
that exclude allArchivePath
s that match the given List of paths.static Filter<ArchivePath>
Filters. excludePaths(Collection<String> paths)
Filter
that exclude allArchivePath
s 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 allArchivePath
s.static Filter<ArchivePath>
Filters. includePaths(String... paths)
Filer
that include allArchivePath
s that match the given List of paths..static Filter<ArchivePath>
Filters. includePaths(Collection<String> paths)
Filer
that include allArchivePath
s that match the given List of paths..Methods in org.jboss.shrinkwrap.api with parameters of type Filter Modifier and Type Method 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>>
Collection<X>Archive. getAsType(Class<X> type, Filter<ArchivePath> filter)
Get all nestedArchive
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>>
Collection<X>Archive. getAsType(Class<X> type, Filter<ArchivePath> filter, ArchiveFormat archiveFormat)
Get all nestedArchive
matching the filter as a specific type using the specifyArchiveFormat
.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, 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.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.Archive<T>
Archive. shallowCopy(Filter<ArchivePath> filter)
Creates a shallow copy of thisArchive
based on given filter.Assets from this archive are made available under the same paths. -
Uses of Filter in org.jboss.shrinkwrap.api.container
Methods in org.jboss.shrinkwrap.api.container with parameters of type Filter Modifier and Type Method 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)
-
Uses of Filter in org.jboss.shrinkwrap.api.importer
Methods in org.jboss.shrinkwrap.api.importer with parameters of type Filter Modifier and Type Method 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 aArchive
.I
StreamImporter. importFrom(InputStream stream, Filter<ArchivePath> filter)
Imports provided stream as aArchive
. -
Uses of Filter in org.jboss.shrinkwrap.impl.base
Methods in org.jboss.shrinkwrap.impl.base with parameters of type Filter Modifier and Type Method Description T
ArchiveBase. 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>>
Collection<X>ArchiveBase. getAsType(Class<X> type, Filter<ArchivePath> filter)
Get all nestedArchive
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>>
Collection<X>ArchiveBase. getAsType(Class<X> type, Filter<ArchivePath> filter, ArchiveFormat archiveFormat)
Get all nestedArchive
matching the filter as a specific type using the specifyArchiveFormat
.Map<ArchivePath,Node>
MemoryMapArchiveBase. getContent(Filter<ArchivePath> filter)
Obtains all assets matching given filter in this archive, along with its respective Path.T
ArchiveBase. 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.T
ArchiveBase. 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
ArchiveBase. merge(Archive<?> source, Filter<ArchivePath> filter)
Merge the contents from an existing archive without maintaining the archive name in the context path.Archive<T>
ArchiveBase. shallowCopy(Filter<ArchivePath> filter)
Creates a shallow copy of thisArchive
based on given filter.Assets from this archive are made available under the same paths. -
Uses of Filter in org.jboss.shrinkwrap.impl.base.container
Methods in org.jboss.shrinkwrap.impl.base.container with parameters of type Filter Modifier and Type Method Description T
ContainerBase. addPackages(boolean recursive, Filter<ArchivePath> filter, Package... packages)
T
ContainerBase. addPackages(boolean recursive, Filter<ArchivePath> filter, String... packageNames)
T
ContainerBase. deletePackages(boolean recursive, Filter<ArchivePath> filter, Package... packages)
T
ContainerBase. deletePackages(boolean recursive, Filter<ArchivePath> filter, String... packages)
T
ContainerBase. 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>>
Collection<X>ContainerBase. getAsType(Class<X> type, Filter<ArchivePath> filter)
Get all nestedArchive
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>>
Collection<X>ContainerBase. getAsType(Class<X> type, Filter<ArchivePath> filter, ArchiveFormat archiveCompression)
Get all nestedArchive
matching the filter as a specific type using the specifyArchiveFormat
.Map<ArchivePath,Node>
ContainerBase. getContent(Filter<ArchivePath> filter)
Obtains all assets matching given filter in this archive, along with its respective Path.T
ContainerBase. 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.T
ContainerBase. 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
ContainerBase. merge(Archive<?> source, Filter<ArchivePath> filter)
Merge the contents from an existing archive without maintaining the archive name in the context path.Archive<T>
ContainerBase. shallowCopy(Filter<ArchivePath> filter)
Creates a shallow copy of thisArchive
based on given filter.Assets from this archive are made available under the same paths. -
Uses of Filter in org.jboss.shrinkwrap.impl.base.filter
Classes in org.jboss.shrinkwrap.impl.base.filter that implement Filter Modifier and Type Class Description class
ExcludePaths
IncludePaths Filter to exclude allArchivePath
s that match the given List of paths.class
ExcludeRegExpPaths
IncludeRegExpPath Filter to exclude allArchivePath
s that match a given Regular Expression.class
IncludeAllClasses
IncludeAllClasses Filter to include allClass
sclass
IncludeAllPaths
IncludeAllPaths Filter that include allArchivePath
s.class
IncludePaths
IncludePaths Filter to include allArchivePath
s that match the given List of paths.class
IncludeRegExpPaths
IncludeRegExpPath Filter to include allArchivePath
s that match a given Regular Expression. -
Uses of Filter in org.jboss.shrinkwrap.impl.base.importer
Methods in org.jboss.shrinkwrap.impl.base.importer with parameters of type Filter Modifier and Type Method Description ExplodedImporter
ExplodedImporterImpl. importDirectory(File file, Filter<ArchivePath> filter)
Import a directory structure as a archive.ExplodedImporter
ExplodedImporterImpl. importDirectory(String fileName, Filter<ArchivePath> filter)
Import a directory structure as a archive. -
Uses of Filter in org.jboss.shrinkwrap.impl.base.importer.zip
Methods in org.jboss.shrinkwrap.impl.base.importer.zip with parameters of type Filter Modifier and Type Method Description ZipImporter
ZipImporterImpl. importFrom(File file, Filter<ArchivePath> filter)
Imports provided File as aArchive
.ZipImporter
ZipImporterImpl. importFrom(InputStream stream, Filter<ArchivePath> filter)
Imports provided stream as aArchive
.
-