public class PatternSet extends java.lang.Object implements java.io.Serializable, java.lang.Cloneable, InputLocationTracker
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<java.lang.String> |
excludes
Field excludes.
|
private java.util.List<java.lang.String> |
includes
Field includes.
|
private java.util.Map<java.lang.Object,InputLocation> |
locations
Field locations.
|
| Constructor and Description |
|---|
PatternSet() |
| Modifier and Type | Method and Description |
|---|---|
void |
addExclude(java.lang.String string)
Method addExclude.
|
void |
addInclude(java.lang.String string)
Method addInclude.
|
PatternSet |
clone()
Method clone.
|
java.util.List<java.lang.String> |
getExcludes()
Method getExcludes.
|
java.util.List<java.lang.String> |
getIncludes()
Method getIncludes.
|
InputLocation |
getLocation(java.lang.Object key)
Gets the location of the specified field in the input
source.
|
void |
removeExclude(java.lang.String string)
Method removeExclude.
|
void |
removeInclude(java.lang.String string)
Method removeInclude.
|
void |
setExcludes(java.util.List<java.lang.String> excludes)
Set a list of patterns to exclude, e.g.
|
void |
setIncludes(java.util.List<java.lang.String> includes)
Set a list of patterns to include, e.g.
|
void |
setLocation(java.lang.Object key,
InputLocation location)
Sets the location of the specified field.
|
java.lang.String |
toString() |
private java.util.List<java.lang.String> includes
private java.util.List<java.lang.String> excludes
private java.util.Map<java.lang.Object,InputLocation> locations
public void addExclude(java.lang.String string)
string - public void addInclude(java.lang.String string)
string - public PatternSet clone()
clone in class java.lang.Objectpublic java.util.List<java.lang.String> getExcludes()
public java.util.List<java.lang.String> getIncludes()
public InputLocation getLocation(java.lang.Object key)
InputLocationTrackergetLocation in interface InputLocationTrackerkey - public void removeExclude(java.lang.String string)
string - public void removeInclude(java.lang.String string)
string - public void setExcludes(java.util.List<java.lang.String> excludes)
**/*.xmlexcludes - public void setIncludes(java.util.List<java.lang.String> includes)
**/*.xml.includes - public void setLocation(java.lang.Object key,
InputLocation location)
InputLocationTrackersetLocation in interface InputLocationTrackerkey - location - public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()