public class PatternSet extends Object implements Serializable, Cloneable, InputLocationTracker
Constructor and Description |
---|
PatternSet() |
Modifier and Type | Method and Description |
---|---|
void |
addExclude(String string)
Method addExclude.
|
void |
addInclude(String string)
Method addInclude.
|
PatternSet |
clone()
Method clone.
|
List<String> |
getExcludes()
Method getExcludes.
|
List<String> |
getIncludes()
Method getIncludes.
|
InputLocation |
getLocation(Object key)
Gets the location of the specified field in the input
source.
|
void |
removeExclude(String string)
Method removeExclude.
|
void |
removeInclude(String string)
Method removeInclude.
|
void |
setExcludes(List<String> excludes)
Set a list of patterns to exclude, e.g.
|
void |
setIncludes(List<String> includes)
Set a list of patterns to include, e.g.
|
void |
setLocation(Object key,
InputLocation location)
Sets the location of the specified field.
|
void |
setOtherLocation(Object key,
InputLocation location) |
String |
toString() |
public void addExclude(String string)
string
- public void addInclude(String string)
string
- public PatternSet clone()
public InputLocation getLocation(Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
key
- public void setLocation(Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
key
- location
- public void setOtherLocation(Object key, InputLocation location)
key
- location
- public void removeExclude(String string)
string
- public void removeInclude(String string)
string
- public void setExcludes(List<String> excludes)
**/*.xml
excludes
- public void setIncludes(List<String> includes)
**/*.xml
.includes
- public String toString()
toString
in class Object
Object.toString()
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.