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 private static Filter<ArchivePath>
Filters. createRegExpFilter(java.lang.String regExpFilterImplName, java.lang.Class<?>... classes)
private static Filter<ArchivePath>
Filters. createRegExpFilter(java.lang.String filterClassName, java.lang.Package... packages)
static Filter<ArchivePath>
Filters. exclude(java.lang.Class<?>... classes)
Filter
that excludes listedClass
.static Filter<ArchivePath>
Filters. exclude(java.lang.Package... packages)
Filter
that includes listedPackage
.static Filter<ArchivePath>
Filters. exclude(java.lang.String regexp)
static Filter<ArchivePath>
Filters. excludePaths(java.lang.String... paths)
Filter
that exclude allArchivePath
s that match the given List of paths.static Filter<ArchivePath>
Filters. excludePaths(java.util.Collection<java.lang.String> paths)
Filter
that exclude allArchivePath
s that match the given List of paths.private static Filter<ArchivePath>
Filters. getFilterInstance(java.lang.String filterClassName, java.lang.Class<?>[] ctorTypes, java.lang.Object[] ctorArguments)
Creates a newFilter
instance using the given impl class name, constructor arguments and typestatic Filter<ArchivePath>
Filters. include(java.lang.Class<?>... classes)
Filter
that includes listedClass
.static Filter<ArchivePath>
Filters. include(java.lang.Package... packages)
Filter
that excludes listedPackage
.static Filter<ArchivePath>
Filters. include(java.lang.String regexp)
static Filter<ArchivePath>
Filters. includeAll()
Filter
that includes allArchivePath
s.static Filter<ArchivePath>
Filters. includePaths(java.lang.String... paths)
Filer
that include allArchivePath
s that match the given List of paths..static Filter<ArchivePath>
Filters. includePaths(java.util.Collection<java.lang.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>>
java.util.Collection<X>Archive. getAsType(java.lang.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>>
java.util.Collection<X>Archive. getAsType(java.lang.Class<X> type, Filter<ArchivePath> filter, ArchiveFormat archiveFormat)
Get all nestedArchive
matching the filter as a specific type using the specifyArchiveFormat
.java.util.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, java.lang.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, java.lang.Package... packages)
Adds all classes accepted by the filter in the specifiedPackage
s to theArchive
.T
ClassContainer. addPackages(boolean recursive, Filter<ArchivePath> filter, java.lang.String... packages)
Adds all classes accepted by the filter in the specifiedPackage
s to theArchive
.T
ClassContainer. deletePackages(boolean recursive, Filter<ArchivePath> filter, java.lang.Package... packages)
Deletes all classes accepted by the filter in the specifiedPackage
s from theArchive
.T
ClassContainer. deletePackages(boolean recursive, Filter<ArchivePath> filter, java.lang.String... packages)
Delete all classes accepted by the filter in the specifiedPackage
s from theArchive
. -
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(java.io.File file, Filter<ArchivePath> filter)
Import a directory structure as a archive.ExplodedImporter
ExplodedImporter. importDirectory(java.lang.String fileName, Filter<ArchivePath> filter)
Import a directory structure as a archive.I
StreamImporter. importFrom(java.io.File file, Filter<ArchivePath> filter)
Imports provided File as aArchive
.I
StreamImporter. importFrom(java.io.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>>
java.util.Collection<X>ArchiveBase. getAsType(java.lang.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>>
java.util.Collection<X>ArchiveBase. getAsType(java.lang.Class<X> type, Filter<ArchivePath> filter, ArchiveFormat archiveFormat)
Get all nestedArchive
matching the filter as a specific type using the specifyArchiveFormat
.java.util.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, java.lang.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 private void
ContainerBase. addPackage(boolean recursive, Filter<ArchivePath> filter, java.lang.ClassLoader classLoader, java.lang.String packageName)
private T
ContainerBase. addPackages(boolean recursive, Filter<ArchivePath> filter, java.lang.ClassLoader cl, java.lang.Package... packages)
private T
ContainerBase. addPackages(boolean recursive, Filter<ArchivePath> filter, java.lang.ClassLoader classLoader, java.lang.String... packageNames)
T
ContainerBase. addPackages(boolean recursive, Filter<ArchivePath> filter, java.lang.Package... packages)
T
ContainerBase. addPackages(boolean recursive, Filter<ArchivePath> filter, java.lang.String... packageNames)
private void
ContainerBase. deletePackage(boolean recursive, Filter<ArchivePath> filter, java.lang.String packageName, java.lang.ClassLoader classLoader)
T
ContainerBase. deletePackages(boolean recursive, Filter<ArchivePath> filter, java.lang.Package... packages)
T
ContainerBase. deletePackages(boolean recursive, Filter<ArchivePath> filter, java.lang.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>>
java.util.Collection<X>ContainerBase. getAsType(java.lang.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>>
java.util.Collection<X>ContainerBase. getAsType(java.lang.Class<X> type, Filter<ArchivePath> filter, ArchiveFormat archiveCompression)
Get all nestedArchive
matching the filter as a specific type using the specifyArchiveFormat
.java.util.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, java.lang.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 private void
ExplodedImporterImpl. doImport(java.io.File root, java.io.File[] files, Filter<ArchivePath> filter)
ExplodedImporter
ExplodedImporterImpl. importDirectory(java.io.File file, Filter<ArchivePath> filter)
Import a directory structure as a archive.ExplodedImporter
ExplodedImporterImpl. importDirectory(java.lang.String fileName, Filter<ArchivePath> filter)
Import a directory structure as a archive. -
Uses of Filter in org.jboss.shrinkwrap.impl.base.importer.tar
Methods in org.jboss.shrinkwrap.impl.base.importer.tar with parameters of type Filter Modifier and Type Method Description I
TarImporterBase. importFrom(java.io.File file, Filter<ArchivePath> filter)
Imports provided File as aArchive
.I
TarImporterBase. importFrom(java.io.InputStream stream, Filter<ArchivePath> filter)
Imports provided stream as aArchive
.private I
TarImporterBase. importFrom(S stream, Filter<ArchivePath> filter)
-
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(java.io.File file, Filter<ArchivePath> filter)
Imports provided File as aArchive
.ZipImporter
ZipImporterImpl. importFrom(java.io.InputStream stream, Filter<ArchivePath> filter)
Imports provided stream as aArchive
.private ZipImporter
ZipImporterImpl. importFrom(java.util.zip.ZipFile file, Filter<ArchivePath> filter)
-