Package | Description |
---|---|
net.sourceforge.pmd.dcd.graph | |
net.sourceforge.pmd.util.filter |
Modifier and Type | Field | Description |
---|---|---|
protected Filter<java.lang.String> |
UsageGraph.classFilter |
|
protected Filter<java.lang.String> |
UsageGraphBuilder.classFilter |
Constructor | Description |
---|---|
UsageGraph(Filter<java.lang.String> classFilter) |
|
UsageGraphBuilder(Filter<java.lang.String> classFilter) |
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractCompoundFilter<T> |
A base class for Filters which implements behavior using a List of other
Filters.
|
class |
AbstractDelegateFilter<T> |
A base class for Filters which implements behavior using delegation to an
underlying filter.
|
class |
AndFilter<T> |
A logical AND of a list of Filters.
|
class |
DirectoryFilter |
Directory filter.
|
class |
FileExtensionFilter |
|
class |
NotFilter<T> |
A logical NEGATION of a Filter.
|
class |
OrFilter<T> |
A logical OR of a list of Filters.
|
class |
RegexStringFilter |
A filter which uses a regular expression to match Strings.
|
Modifier and Type | Field | Description |
---|---|---|
protected Filter<T> |
AbstractDelegateFilter.filter |
Modifier and Type | Field | Description |
---|---|---|
protected java.util.List<Filter<T>> |
AbstractCompoundFilter.filters |
Modifier and Type | Method | Description |
---|---|---|
static Filter<java.lang.String> |
Filters.buildRegexFilterExcludeOverInclude(java.util.List<java.lang.String> includeRegexes,
java.util.List<java.lang.String> excludeRegexes) |
Construct a String Filter using set of include and exclude regular
expressions.
|
static Filter<java.lang.String> |
Filters.buildRegexFilterIncludeOverExclude(java.util.List<java.lang.String> includeRegexes,
java.util.List<java.lang.String> excludeRegexes) |
Construct a String Filter using set of include and exclude regular
expressions.
|
static <T> Filter<T> |
Filters.fromStringFilter(Filter<java.lang.String> filter) |
Given a String Filter, expose as a Filter on another type.
|
static Filter<java.io.File> |
Filters.getDirectoryFilter() |
Get a File Filter for directories.
|
static Filter<java.io.File> |
Filters.getFileExtensionFilter(java.lang.String... extensions) |
Get a File Filter for files with the given extensions, ignoring case.
|
static Filter<java.io.File> |
Filters.getFileExtensionOrDirectoryFilter(java.lang.String... extensions) |
Get a File Filter for directories or for files with the given extensions,
ignoring case.
|
Filter<T> |
AbstractDelegateFilter.getFilter() |
|
static Filter<java.io.File> |
Filters.toFileFilter(java.io.FilenameFilter filter) |
Given a FilenameFilter, expose as a File Filter.
|
static Filter<java.io.File> |
Filters.toNormalizedFileFilter(Filter<java.lang.String> filter) |
Given a String Filter, expose as a File Filter.
|
Modifier and Type | Method | Description |
---|---|---|
java.util.List<Filter<T>> |
AbstractCompoundFilter.getFilters() |
Modifier and Type | Method | Description |
---|---|---|
void |
AbstractCompoundFilter.addFilter(Filter<T> filter) |
|
static <T> java.util.List<T> |
Filters.filter(Filter<T> filter,
java.util.Collection<T> collection) |
Filter a given Collection.
|
static <T> Filter<T> |
Filters.fromStringFilter(Filter<java.lang.String> filter) |
Given a String Filter, expose as a Filter on another type.
|
void |
AbstractDelegateFilter.setFilter(Filter<T> filter) |
|
static java.io.FilenameFilter |
Filters.toFilenameFilter(Filter<java.io.File> filter) |
Given a File Filter, expose as a FilenameFilter.
|
static Filter<java.io.File> |
Filters.toNormalizedFileFilter(Filter<java.lang.String> filter) |
Given a String Filter, expose as a File Filter.
|
Modifier and Type | Method | Description |
---|---|---|
void |
AbstractCompoundFilter.setFilters(java.util.List<Filter<T>> filters) |
Constructor | Description |
---|---|
AbstractCompoundFilter(Filter<T>... filters) |
|
AbstractDelegateFilter(Filter<T> filter) |
|
AndFilter(Filter<T>... filters) |
|
NotFilter(Filter<T> filter) |
|
OrFilter(Filter<T>... filters) |
Copyright © 2002–2018 PMD. All rights reserved.