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 TypeMethodDescriptionstatic Filter<ArchivePath> static Filter<ArchivePath> static Filter<ArchivePath> static Filter<ArchivePath> Filters.excludePaths(String... paths) Filterthat exclude allArchivePaths that match the given List of paths.static Filter<ArchivePath> Filters.excludePaths(Collection<String> paths) Filterthat exclude allArchivePaths that match the given List of paths.static Filter<ArchivePath> static Filter<ArchivePath> static Filter<ArchivePath> static Filter<ArchivePath> Filters.includeAll()Filterthat includes allArchivePaths.static Filter<ArchivePath> Filters.includePaths(String... paths) Filterthat include allArchivePaths that match the given List of paths.static Filter<ArchivePath> Filters.includePaths(Collection<String> paths) Filterthat include allArchivePaths 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 nestedArchivematching the filter as a specific type.
The found Archives must have been added as an Archive, no import is performed.<X extends Archive<X>>
Collection<X> Archive.getAsType(Class<X> type, Filter<ArchivePath> filter, ArchiveFormat archiveFormat) Get all nestedArchivematching the filter as a specific type using the specifiedArchiveFormat.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 thisArchivebased on given filter. -
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 an archive.ExplodedImporter.importDirectory(String fileName, Filter<ArchivePath> filter) Import a directory structure as an 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.