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)Filterthat excludes listedClass.static Filter<ArchivePath>Filters. exclude(java.lang.Package... packages)Filterthat includes listedPackage.static Filter<ArchivePath>Filters. exclude(java.lang.String regexp)static Filter<ArchivePath>Filters. excludePaths(java.lang.String... paths)Filterthat exclude allArchivePaths that match the given List of paths.static Filter<ArchivePath>Filters. excludePaths(java.util.Collection<java.lang.String> paths)Filterthat exclude allArchivePaths 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 newFilterinstance using the given impl class name, constructor arguments and typestatic Filter<ArchivePath>Filters. include(java.lang.Class<?>... classes)Filterthat includes listedClass.static Filter<ArchivePath>Filters. include(java.lang.Package... packages)Filterthat excludes listedPackage.static Filter<ArchivePath>Filters. include(java.lang.String regexp)static Filter<ArchivePath>Filters. includeAll()Filterthat includes allArchivePaths.static Filter<ArchivePath>Filters. includePaths(java.lang.String... paths)Filerthat include allArchivePaths that match the given List of paths..static Filter<ArchivePath>Filters. includePaths(java.util.Collection<java.lang.String> paths)Filerthat include allArchivePaths that match the given List of paths..Methods in org.jboss.shrinkwrap.api with parameters of type Filter Modifier and Type Method Description TArchive. 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 nestedArchivematching 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 nestedArchivematching 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.TArchive. 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.TArchive. 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.TArchive. 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 thisArchivebased 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 TClassContainer. addPackages(boolean recursive, Filter<ArchivePath> filter, java.lang.Package... packages)Adds all classes accepted by the filter in the specifiedPackages to theArchive.TClassContainer. addPackages(boolean recursive, Filter<ArchivePath> filter, java.lang.String... packages)Adds all classes accepted by the filter in the specifiedPackages to theArchive.TClassContainer. deletePackages(boolean recursive, Filter<ArchivePath> filter, java.lang.Package... packages)Deletes all classes accepted by the filter in the specifiedPackages from theArchive.TClassContainer. deletePackages(boolean recursive, Filter<ArchivePath> filter, java.lang.String... packages)Delete all classes accepted by the filter in the specifiedPackages 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 ExplodedImporterExplodedImporter. importDirectory(java.io.File file, Filter<ArchivePath> filter)Import a directory structure as a archive.ExplodedImporterExplodedImporter. importDirectory(java.lang.String fileName, Filter<ArchivePath> filter)Import a directory structure as a archive.IStreamImporter. importFrom(java.io.File file, Filter<ArchivePath> filter)Imports provided File as aArchive.IStreamImporter. 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 TArchiveBase. 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 nestedArchivematching 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 nestedArchivematching 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.TArchiveBase. 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.TArchiveBase. 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.TArchiveBase. 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 thisArchivebased 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 voidContainerBase. addPackage(boolean recursive, Filter<ArchivePath> filter, java.lang.ClassLoader classLoader, java.lang.String packageName)private TContainerBase. addPackages(boolean recursive, Filter<ArchivePath> filter, java.lang.ClassLoader cl, java.lang.Package... packages)private TContainerBase. addPackages(boolean recursive, Filter<ArchivePath> filter, java.lang.ClassLoader classLoader, java.lang.String... packageNames)TContainerBase. addPackages(boolean recursive, Filter<ArchivePath> filter, java.lang.Package... packages)TContainerBase. addPackages(boolean recursive, Filter<ArchivePath> filter, java.lang.String... packageNames)private voidContainerBase. deletePackage(boolean recursive, Filter<ArchivePath> filter, java.lang.String packageName, java.lang.ClassLoader classLoader)TContainerBase. deletePackages(boolean recursive, Filter<ArchivePath> filter, java.lang.Package... packages)TContainerBase. deletePackages(boolean recursive, Filter<ArchivePath> filter, java.lang.String... packages)TContainerBase. 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 nestedArchivematching 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 nestedArchivematching 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.TContainerBase. 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.TContainerBase. 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.TContainerBase. 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 thisArchivebased 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 classExcludePathsIncludePaths Filter to exclude allArchivePaths that match the given List of paths.classExcludeRegExpPathsIncludeRegExpPath Filter to exclude allArchivePaths that match a given Regular Expression.classIncludeAllClassesIncludeAllClasses Filter to include allClasssclassIncludeAllPathsIncludeAllPaths Filter that include allArchivePaths.classIncludePathsIncludePaths Filter to include allArchivePaths that match the given List of paths.classIncludeRegExpPathsIncludeRegExpPath Filter to include allArchivePaths 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 voidExplodedImporterImpl. doImport(java.io.File root, java.io.File[] files, Filter<ArchivePath> filter)ExplodedImporterExplodedImporterImpl. importDirectory(java.io.File file, Filter<ArchivePath> filter)Import a directory structure as a archive.ExplodedImporterExplodedImporterImpl. 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 ITarImporterBase. importFrom(java.io.File file, Filter<ArchivePath> filter)Imports provided File as aArchive.ITarImporterBase. importFrom(java.io.InputStream stream, Filter<ArchivePath> filter)Imports provided stream as aArchive.private ITarImporterBase. 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 ZipImporterZipImporterImpl. importFrom(java.io.File file, Filter<ArchivePath> filter)Imports provided File as aArchive.ZipImporterZipImporterImpl. importFrom(java.io.InputStream stream, Filter<ArchivePath> filter)Imports provided stream as aArchive.private ZipImporterZipImporterImpl. importFrom(java.util.zip.ZipFile file, Filter<ArchivePath> filter)
-