org.apache.xbean.finder.filter
Class Filters
java.lang.Object
org.apache.xbean.finder.filter.Filters
public class Filters
- extends java.lang.Object
- Version:
- $Rev$ $Date$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Filters
public Filters()
packages
public static Filter packages(java.lang.String... packages)
classes
public static Filter classes(java.lang.String... classes)
prefixes
public static Filter prefixes(java.lang.String... prefixes)
tokens
public static Filter tokens(java.lang.String... tokens)
suffixes
public static Filter suffixes(java.lang.String... suffixes)
patterns
public static Filter patterns(java.lang.String... patterns)
optimize
public static Filter optimize(Filter... filters)
optimize
public static Filter optimize(java.util.List<Filter>... filterss)
invert
public static Filter invert(Filter filter)
- Will invert the meaning of this filter by wrapping it with
a filter that negates the return of the accept method.
If the passed in filter is already wrapped, it will be
unwrapped and returned. This is to prevent endless wrapping
if the invert method is called many times.
- Parameters:
filter -
- Returns:
Copyright © 2005-2011 The Apache Software Foundation. All Rights Reserved.