public final class IgnoredNames
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
IgnoredNames.PatternList
During the load of the configuration file, the framework will add
entries to the ignored pattern list.
|
Constructor and Description |
---|
IgnoredNames() |
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String pattern)
Add a pattern to the list of patterns of filenames to ignore
|
void |
addDefaultPatterns() |
void |
clear()
Remove all installed patterns from the list of files to ignore
|
java.util.List<java.lang.String> |
getIgnoredPatterns() |
boolean |
ignore(java.io.File file)
Should the file be ignored or not?
|
boolean |
ignore(java.lang.String name)
Should the file be ignored or not?
|
void |
setIgnoredPatterns(java.util.List<java.lang.String> ignoredPatterns) |
public java.util.List<java.lang.String> getIgnoredPatterns()
public void setIgnoredPatterns(java.util.List<java.lang.String> ignoredPatterns)
public void add(java.lang.String pattern)
pattern
- the pattern to ignorepublic void clear()
public boolean ignore(java.io.File file)
file
- the file to checkpublic boolean ignore(java.lang.String name)
name
- the name of the file to checkpublic void addDefaultPatterns()