| Package | Description |
|---|---|
| net.sf.mmm.util.collection.base |
Contains public implementations of the
Collection-Util API. |
| net.sf.mmm.util.filter.base |
Contains public implementations of the
filtering-API. |
| net.sf.mmm.util.nls.impl.formatter |
Contains the implementation of formatters for the native language support (NLS).
|
| net.sf.mmm.util.reflect.api |
Provides the API for utilities that help to deal with reflection.
|
| net.sf.mmm.util.reflect.base |
Contains the base-implementations of the
Reflection-Util API. |
| net.sf.mmm.util.resource.api |
Provides the API for utilities that help to load
resources from arbitrary
sources. |
| net.sf.mmm.util.resource.base |
Contains the base implementation of the resource API.
|
| net.sf.mmm.util.resource.impl |
Contains the implementation of the resource API.
|
| Modifier and Type | Field and Description |
|---|---|
private Filter<? super E> |
FilteredIterator.filter |
private Filter<? super E> |
FilteredIterable.filter |
| Constructor and Description |
|---|
FilteredIterable(Iterable<? extends E> delegate,
Filter<? super E> filter)
The constructor.
|
FilteredIterator(Iterator<? extends E> delegate,
Filter<? super E> filter)
The constructor.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ConjunctionFilter<V>
This is an implementation of the
Filter interface that combines a given list of filters using a
boolean Conjunction. |
class |
ConstantFilter<V>
This is an implementation of
Filter that either accepts or rejects all objects to filter. |
class |
FilterRuleChain<V>
This class implements a
Filter that is based on a chain of FilterRules. |
| Modifier and Type | Field and Description |
|---|---|
private Filter<V>[] |
ConjunctionFilter.filterList
the filters to check.
|
| Modifier and Type | Method and Description |
|---|---|
static <V> Filter<V> |
ConstantFilter.getInstance(boolean accept)
This method gets the an instance of this class.
|
| Constructor and Description |
|---|
ConjunctionFilter(Conjunction conjunction,
Filter<V>... filters)
The constructor.
|
| Modifier and Type | Class and Description |
|---|---|
private static class |
NlsFormatterChoice.Condition
This inner class represents a single choice.
|
| Modifier and Type | Field and Description |
|---|---|
private Filter<Object> |
NlsFormatterChoice.Choice.condition
The condition that determines when the choice applies.
|
private static Filter<Object> |
NlsFormatterChoice.FILTER_ELSE
The
Filter for NlsFormatterChoice.CONDITION_ELSE. |
| Modifier and Type | Method and Description |
|---|---|
private Filter<Object> |
NlsFormatterChoice.parseCondition(CharSequenceScanner scanner)
This method parses the
NlsFormatterChoice.Condition. |
| Constructor and Description |
|---|
Choice(Filter<Object> condition,
List<NlsFormatterChoice.Segment> segments)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
ReflectionUtil.findClassNames(String packageName,
boolean includeSubPackages,
Filter<? super String> filter)
This method finds all classes that are located in the package identified by the given
packageName. |
Set<String> |
ReflectionUtil.findClassNames(String packageName,
boolean includeSubPackages,
Filter<? super String> filter,
ClassLoader classLoader)
This method finds all classes that are located in the package identified by the given
packageName. |
Set<String> |
ReflectionUtil.findResourceNames(String packageName,
boolean includeSubPackages,
Filter<? super String> filter)
This method finds all resources that are located in the package identified by the given
packageName. |
Set<String> |
ReflectionUtil.findResourceNames(String packageName,
boolean includeSubPackages,
Filter<? super String> filter,
ClassLoader classLoader)
This method finds all resources that are located in the package identified by the given
packageName. |
Set<DataResource> |
ReflectionUtil.findResources(String packageName,
boolean includeSubPackages,
Filter<? super String> filter)
This method finds all resources that are located in the package identified by the given
packageName. |
Set<DataResource> |
ReflectionUtil.findResources(String packageName,
boolean includeSubPackages,
Filter<? super String> filter,
ClassLoader classLoader)
This method finds all resources that are located in the package identified by the given
packageName. |
Set<Class<?>> |
ReflectionUtil.loadClasses(Collection<String> classNames,
ClassResolver classResolver,
Filter<? super Class<?>> filter)
This method loads the classes given as
Collection of names by classNames using the
given classResolver. |
Set<Class<?>> |
ReflectionUtil.loadClasses(Collection<String> qualifiedClassNames,
Filter<? super Class<?>> filter)
|
void |
ReflectionUtil.visitObjectRecursive(Object object,
Filter<Object> visitor)
This method recursively traverses all objects starting from the given
Object via all properties
and contents. |
void |
ReflectionUtil.visitObjectRecursive(Object object,
Filter<Object> visitor,
boolean loopProtection)
This method recursively traverses all objects starting from the given
Object via all properties
and contents. |
| Modifier and Type | Class and Description |
|---|---|
class |
AnnotationFilter
This is a filter that only
accepts types that are
annotated with an annotation given at
construction. |
class |
AssignableFromFilter
|
| Modifier and Type | Field and Description |
|---|---|
private Filter<? super String> |
ResourceNameCollector.filter
Filter to accept resource-names. |
private Filter<? super String> |
ResourceCollector.filter
Filter to accept resource-names. |
private Filter<? super String> |
ClassNameCollector.filter
Filter to accept class-names. |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
ReflectionUtilImpl.findClassNames(String packageName,
boolean includeSubPackages,
Filter<? super String> filter)
This method finds all classes that are located in the package identified by the given
packageName. |
Set<String> |
ReflectionUtilImpl.findClassNames(String packageName,
boolean includeSubPackages,
Filter<? super String> filter,
ClassLoader classLoader)
This method finds all classes that are located in the package identified by the given
packageName. |
protected void |
ReflectionUtilImpl.findClassNames(String packageName,
boolean includeSubPackages,
Set<String> classSet,
Filter<? super String> filter,
ClassLoader classLoader) |
Set<String> |
ReflectionUtilImpl.findResourceNames(String packageName,
boolean includeSubPackages,
Filter<? super String> filter)
This method finds all resources that are located in the package identified by the given
packageName. |
Set<String> |
ReflectionUtilImpl.findResourceNames(String packageName,
boolean includeSubPackages,
Filter<? super String> filter,
ClassLoader classLoader)
This method finds all resources that are located in the package identified by the given
packageName. |
Set<DataResource> |
ReflectionUtilImpl.findResources(String packageName,
boolean includeSubPackages,
Filter<? super String> filter)
This method finds all resources that are located in the package identified by the given
packageName. |
Set<DataResource> |
ReflectionUtilImpl.findResources(String packageName,
boolean includeSubPackages,
Filter<? super String> filter,
ClassLoader classLoader)
This method finds all resources that are located in the package identified by the given
packageName. |
Set<Class<?>> |
ReflectionUtilImpl.loadClasses(Collection<String> classNames,
ClassResolver classResolver,
Filter<? super Class<?>> filter)
This method loads the classes given as
Collection of names by classNames using the
given classResolver. |
Set<Class<?>> |
ReflectionUtilImpl.loadClasses(Collection<String> qualifiedClassNames,
Filter<? super Class<?>> filter)
|
void |
ReflectionUtilImpl.visitObjectRecursive(Object object,
Filter<Object> visitor)
This method recursively traverses all objects starting from the given
Object via all properties
and contents. |
void |
ReflectionUtilImpl.visitObjectRecursive(Object object,
Filter<Object> visitor,
boolean loopProtection)
This method recursively traverses all objects starting from the given
Object via all properties
and contents. |
protected void |
ReflectionUtilImpl.visitObjectRecursive(Object object,
Filter<Object> visitor,
Set<HashKey<Object>> visitedSet) |
| Constructor and Description |
|---|
ClassNameCollector(Set<String> classNameSet,
Filter<? super String> filter)
The constructor.
|
ResourceCollector(Set<DataResource> resourceSet,
Filter<? super String> filter)
The constructor.
|
ResourceNameCollector(Set<String> resourceSet,
Filter<? super String> filter)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Iterable<? extends BrowsableResource> |
BrowsableResource.getChildResources(Filter<? super BrowsableResource> filter)
This method iterates the immediate child-
resources contained in this
BrowsableResource and are accepted by the given filter
. |
Iterable<? extends BrowsableResource> |
ClasspathScanner.getClasspathResourceFiles(Filter<? super BrowsableResource> filter) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<? extends BrowsableResource> |
AbstractBrowsableResource.getChildResources(Filter<? super BrowsableResource> filter)
This method iterates the immediate child-
resources contained in this
BrowsableResource and are accepted by the given filter
. |
| Modifier and Type | Method and Description |
|---|---|
Iterable<? extends BrowsableResource> |
ClasspathScannerImpl.getClasspathResourceFiles(Filter<? super BrowsableResource> filter) |
Copyright © 2001–2015 mmm-Team. All rights reserved.