Uses of Interface
org.jboss.modules.filter.PathFilter
-
Packages that use PathFilter Package Description org.jboss.modules The primary JBoss Modules API.org.jboss.modules.filter Classes related to filtering. -
-
Uses of PathFilter in org.jboss.modules
Methods in org.jboss.modules that return PathFilter Modifier and Type Method Description PathFilter
DependencySpec. getExportFilter()
Get the dependency export filter.PathFilter
DependencySpec. getImportFilter()
Get the dependency import filter.PathFilter
DependencySpec. getResourceExportFilter()
Get the dependency resource export filter.PathFilter
DependencySpec. getResourceImportFilter()
Get the dependency resource import filter.Methods in org.jboss.modules with parameters of type PathFilter Modifier and Type Method Description static DependencySpec
DependencySpec. createClassLoaderDependencySpec(PathFilter importFilter, PathFilter exportFilter, ClassLoader classLoader, Set<String> loaderPaths)
Create a dependency on the given class loader.static LocalLoader
LocalLoaders. createFilteredLocalLoader(ClassFilter classFilter, PathFilter resourcePathFilter, LocalLoader originalLoader)
Create a filtered local loader.static ResourceLoader
ResourceLoaders. createFilteredResourceLoader(PathFilter pathFilter, ResourceLoader originalLoader)
Create a filtered view of a resource loader, which allows classes to be included or excluded on a name basis.static IterableLocalLoader
LocalLoaders. createIterableFilteredLocalLoader(ClassFilter classFilter, PathFilter resourcePathFilter, IterableLocalLoader originalLoader)
Create a filtered local loader.static IterableResourceLoader
ResourceLoaders. createIterableFilteredResourceLoader(PathFilter pathFilter, IterableResourceLoader originalLoader)
Create a filtered view of an iterable resource loader, which allows classes to be included or excluded on a name basis.static IterableLocalLoader
LocalLoaders. createIterablePathFilteredLocalLoader(PathFilter pathFilter, IterableLocalLoader originalLoader)
Create a filtered local loader.static DependencySpec
DependencySpec. createLocalDependencySpec(PathFilter importFilter, PathFilter exportFilter)
Create a dependency on the current module's local resources.static DependencySpec
DependencySpec. createLocalDependencySpec(PathFilter importFilter, PathFilter exportFilter, PathFilter resourceImportFilter, PathFilter resourceExportFilter, ClassFilter classImportFilter, ClassFilter classExportFilter)
Create a dependency on the current module's local resources.static DependencySpec
DependencySpec. createLocalDependencySpec(PathFilter importFilter, PathFilter exportFilter, PathFilter resourceImportFilter, PathFilter resourceExportFilter, ClassFilter classImportFilter, ClassFilter classExportFilter, LocalLoader localLoader, Set<String> loaderPaths)
Create a dependency on the given local loader.static DependencySpec
DependencySpec. createLocalDependencySpec(PathFilter importFilter, PathFilter exportFilter, LocalLoader localLoader, Set<String> loaderPaths)
Create a dependency on the given local loader.static DependencySpec
DependencySpec. createModuleDependencySpec(PathFilter importFilter, PathFilter exportFilter, PathFilter resourceImportFilter, PathFilter resourceExportFilter, ClassFilter classImportFilter, ClassFilter classExportFilter, ModuleLoader moduleLoader, ModuleIdentifier identifier, boolean optional)
Create a dependency on the given module.static DependencySpec
DependencySpec. createModuleDependencySpec(PathFilter importFilter, PathFilter exportFilter, ModuleLoader moduleLoader, ModuleIdentifier identifier, boolean optional)
Create a dependency on the given module.static DependencySpec
DependencySpec. createModuleDependencySpec(PathFilter exportFilter, ModuleIdentifier identifier, boolean optional)
Create a dependency on the given module.static DependencySpec
DependencySpec. createModuleDependencySpec(PathFilter exportFilter, ModuleLoader moduleLoader, ModuleIdentifier identifier, boolean optional)
Create a dependency on the given module.static LocalLoader
LocalLoaders. createPathFilteredLocalLoader(PathFilter pathFilter, LocalLoader originalLoader)
Create a filtered local loader.static ResourceLoaderSpec
ResourceLoaderSpec. createResourceLoaderSpec(ResourceLoader resourceLoader, PathFilter pathFilter)
Construct a new instance.static DependencySpec
DependencySpec. createSystemDependencySpec(PathFilter importFilter, PathFilter exportFilter, Set<String> loaderPaths)
Create a system dependency.static <T extends Collection<? super String>>
TPathUtils. filterPaths(Iterable<String> source, PathFilter filter, T target)
Filter the paths fromsource
intotarget
usingfilter
.Iterator<Resource>
Module. iterateResources(PathFilter filter)
Enumerate all the imported resources in this module, subject to a path filter.Constructors in org.jboss.modules with parameters of type PathFilter Constructor Description LocalModuleFinder(File[] repoRoots, PathFilter pathFilter)
Construct a new instance.LocalModuleLoader(File[] repoRoots, PathFilter pathFilter)
Construct a new instance. -
Uses of PathFilter in org.jboss.modules.filter
Methods in org.jboss.modules.filter that return PathFilter Modifier and Type Method Description static PathFilter
PathFilters. acceptAll()
Get a filter which always returnstrue
.static PathFilter
PathFilters. all(Collection<PathFilter> filters)
Get a path filter which returnstrue
if all of the given filters returntrue
.static PathFilter
PathFilters. all(PathFilter... filters)
Get a path filter which returnstrue
if all of the given filters returntrue
.static PathFilter
PathFilters. any(Collection<PathFilter> filters)
Get a path filter which returnstrue
if any of the given filters returntrue
.static PathFilter
PathFilters. any(PathFilter... filters)
Get a path filter which returnstrue
if any of the given filters returntrue
.PathFilter
MultiplePathFilterBuilder. create()
Create the path filter from this builder's current state.static PathFilter
PathFilters. getDefaultImportFilter()
Get the default import path filter, which excludes all ofMETA-INF
and its subdirectories.static PathFilter
PathFilters. getDefaultImportFilterWithServices()
Get the default import-with-services path filter which excludes all ofMETA-INF
and its subdirectories, with the exception ofMETA-INF/services
.static PathFilter
PathFilters. getMetaInfFilter()
Get a filter which matches the path"META-INF"
.static PathFilter
PathFilters. getMetaInfServicesFilter()
Get a filter which matches the path"META-INF/services"
.static PathFilter
PathFilters. getMetaInfSubdirectoriesFilter()
Get a filter which matches any subdirectory of the path"META-INF"
.static PathFilter
PathFilters. getMetaInfSubdirectoriesWithoutMetaInfFilter()
Get a filter which matches all ofMETA-INF
's subdirectories, but notMETA-INF
itself.static PathFilter
PathFilters. in(Collection<String> paths)
Get a filter which returnstrue
if the tested path is contained within the given collection.static PathFilter
PathFilters. in(Set<String> paths)
Get a filter which returnstrue
if the tested path is contained within the given set.static PathFilter
PathFilters. is(String path)
Get a path filter which matches an exact path name.static PathFilter
PathFilters. isChildOf(String path)
Get a path filter which matches any path which is a child of the given path name (not including the path name itself).static PathFilter
PathFilters. isOrIsChildOf(String path)
Get a path filter which matches any path which is equal to, or a child of, the given path name.static PathFilter
PathFilters. match(String glob)
Get a path filter which matches a glob.static PathFilter
PathFilters. none(Collection<PathFilter> filters)
Get a path filter which returnstrue
if none of the given filters returntrue
.static PathFilter
PathFilters. none(PathFilter... filters)
Get a path filter which returnstrue
if none of the given filters returntrue
.static PathFilter
PathFilters. not(PathFilter filter)
Get a path filter which istrue
when the given filter isfalse
, and vice-versa.static PathFilter
PathFilters. rejectAll()
Get a filter which always returnsfalse
.Methods in org.jboss.modules.filter with parameters of type PathFilter Modifier and Type Method Description void
MultiplePathFilterBuilder. addFilter(PathFilter filter, boolean include)
Add a filter to this builder.static PathFilter
PathFilters. all(PathFilter... filters)
Get a path filter which returnstrue
if all of the given filters returntrue
.static PathFilter
PathFilters. any(PathFilter... filters)
Get a path filter which returnstrue
if any of the given filters returntrue
.static Iterator<Resource>
PathFilters. filtered(PathFilter filter, Iterator<Resource> original)
Get a filtered view of a resource iteration.static ClassFilter
ClassFilters. fromResourcePathFilter(PathFilter resourcePathFilter)
Get a class filter which uses a resource path filter to filter classes.static PathFilter
PathFilters. none(PathFilter... filters)
Get a path filter which returnstrue
if none of the given filters returntrue
.static PathFilter
PathFilters. not(PathFilter filter)
Get a path filter which istrue
when the given filter isfalse
, and vice-versa.Method parameters in org.jboss.modules.filter with type arguments of type PathFilter Modifier and Type Method Description static PathFilter
PathFilters. all(Collection<PathFilter> filters)
Get a path filter which returnstrue
if all of the given filters returntrue
.static PathFilter
PathFilters. any(Collection<PathFilter> filters)
Get a path filter which returnstrue
if any of the given filters returntrue
.static PathFilter
PathFilters. none(Collection<PathFilter> filters)
Get a path filter which returnstrue
if none of the given filters returntrue
.
-