public class RegexFileLineFilter extends Object implements FileLineFilter
| Constructor and Description |
|---|
RegexFileLineFilter(String pattern)
Constructor for RegexFileFilter
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptLine(String line)
Determines if a line should be accepted or not
|
String |
getPattern()
Gets the pattern
|
void |
setPattern(String pattern)
Sets the pattern
|
public RegexFileLineFilter(String pattern)
pattern - patternpublic String getPattern()
public void setPattern(String pattern)
pattern - patternpublic boolean acceptLine(String line)
acceptLine in interface FileLineFilterline - line to examine? Copyright 2013 BMC Software, Inc.