Uses of Interface
org.jboss.shrinkwrap.api.Filter
Packages that use Filter
Package
Description
-
Uses of Filter in org.jboss.shrinkwrap.api
Methods in org.jboss.shrinkwrap.api that return FilterModifier and TypeMethodDescriptionprivate static Filter
<ArchivePath> Filters.createRegExpFilter
(String regExpFilterImplName, Class<?>... classes) private static Filter
<ArchivePath> Filters.createRegExpFilter
(String filterClassName, Package... packages) static Filter
<ArchivePath> static Filter
<ArchivePath> static Filter
<ArchivePath> 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.private static Filter
<ArchivePath> Filters.getFilterInstance
(String filterClassName, Class<?>[] ctorTypes, Object[] ctorArguments) Creates a newFilter
instance using the given impl class name, constructor arguments and typestatic Filter
<ArchivePath> static Filter
<ArchivePath> static Filter
<ArchivePath> 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 FilterModifier and TypeMethodDescriptionArchive.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
.Archive.getContent
(Filter<ArchivePath> filter) Obtains all assets matching given filter in this archive, along with its respective Path.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.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.Archive.merge
(Archive<?> source, Filter<ArchivePath> filter) Merge the contents from an existing archive without maintaining the archive name in the context path.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 FilterModifier and TypeMethodDescriptionClassContainer.addPackages
(boolean recursive, Filter<ArchivePath> filter, Package... packages) ClassContainer.addPackages
(boolean recursive, Filter<ArchivePath> filter, String... packages) ClassContainer.deletePackages
(boolean recursive, Filter<ArchivePath> filter, Package... packages) 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 FilterModifier and TypeMethodDescriptionExplodedImporter.importDirectory
(File file, Filter<ArchivePath> filter) Import a directory structure as a archive.ExplodedImporter.importDirectory
(String fileName, Filter<ArchivePath> filter) Import a directory structure as a archive.StreamImporter.importFrom
(File file, Filter<ArchivePath> filter) Imports provided File as aArchive
.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 FilterModifier and TypeMethodDescriptionArchiveBase.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
.MemoryMapArchiveBase.getContent
(Filter<ArchivePath> filter) Obtains all assets matching given filter in this archive, along with its respective Path.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.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.ArchiveBase.merge
(Archive<?> source, Filter<ArchivePath> filter) Merge the contents from an existing archive without maintaining the archive name in the context path.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 FilterModifier and TypeMethodDescriptionprivate void
ContainerBase.addPackage
(boolean recursive, Filter<ArchivePath> filter, ClassLoader classLoader, String packageName) private T
ContainerBase.addPackages
(boolean recursive, Filter<ArchivePath> filter, ClassLoader cl, Package... packages) private T
ContainerBase.addPackages
(boolean recursive, Filter<ArchivePath> filter, ClassLoader classLoader, String... packageNames) ContainerBase.addPackages
(boolean recursive, Filter<ArchivePath> filter, Package... packages) ContainerBase.addPackages
(boolean recursive, Filter<ArchivePath> filter, String... packageNames) private void
ContainerBase.deletePackage
(boolean recursive, Filter<ArchivePath> filter, String packageName, ClassLoader classLoader) ContainerBase.deletePackages
(boolean recursive, Filter<ArchivePath> filter, Package... packages) ContainerBase.deletePackages
(boolean recursive, Filter<ArchivePath> filter, String... packages) 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
.ContainerBase.getContent
(Filter<ArchivePath> filter) Obtains all assets matching given filter in this archive, along with its respective Path.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.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.ContainerBase.merge
(Archive<?> source, Filter<ArchivePath> filter) Merge the contents from an existing archive without maintaining the archive name in the context path.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 FilterModifier and TypeClassDescriptionclass
IncludePaths Filter to exclude allArchivePath
s that match the given List of paths.class
IncludeRegExpPath Filter to exclude allArchivePath
s that match a given Regular Expression.class
IncludeAllClasses Filter to include allClass
sclass
IncludeAllPaths Filter that include allArchivePath
s.class
IncludePaths Filter to include allArchivePath
s that match the given List of paths.class
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 FilterModifier and TypeMethodDescriptionprivate void
ExplodedImporterImpl.doImport
(File root, File[] files, Filter<ArchivePath> filter) ExplodedImporterImpl.importDirectory
(File file, Filter<ArchivePath> filter) Import a directory structure as a archive.ExplodedImporterImpl.importDirectory
(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 FilterModifier and TypeMethodDescriptionTarImporterBase.importFrom
(File file, Filter<ArchivePath> filter) Imports provided File as aArchive
.TarImporterBase.importFrom
(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 FilterModifier and TypeMethodDescriptionZipImporterImpl.importFrom
(File file, Filter<ArchivePath> filter) Imports provided File as aArchive
.ZipImporterImpl.importFrom
(InputStream stream, Filter<ArchivePath> filter) Imports provided stream as aArchive
.private ZipImporter
ZipImporterImpl.importFrom
(ZipFile file, Filter<ArchivePath> filter)