class RegexpMatcher extends Object implements LineMatcher
Pattern
to do the regexp stuff.Constructor and Description |
---|
RegexpMatcher(GrepArguments args) |
Modifier and Type | Method and Description |
---|---|
boolean |
matches(Line line)
Returns true if the given
line matches, and false otherwise. |
public RegexpMatcher(GrepArguments args)
public boolean matches(Line line)
LineMatcher
line
matches, and false otherwise.matches
in interface LineMatcher
line
- the line to testCopyright © 2024. All rights reserved.