Filter.NextAction, Filter.Result, Filter.ResultItem| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COLUMN_MACROS |
static java.lang.String |
FILE_PATH_MACROS |
static java.lang.String |
LINE_MACROS |
EMPTY_ARRAY| Constructor and Description |
|---|
RegexpFilter(Project project,
java.lang.String expression) |
| Modifier and Type | Method and Description |
|---|---|
Filter.Result |
applyFilter(java.lang.String line,
int entireLength)
Filters line by creating an instance of
Filter.Result. |
protected HyperlinkInfo |
createOpenFileHyperlink(java.lang.String fileName,
int line,
int column) |
static java.lang.String[] |
getMacrosName() |
java.util.regex.Pattern |
getPattern() |
static void |
validate(java.lang.String expression) |
public static final java.lang.String FILE_PATH_MACROS
public static final java.lang.String LINE_MACROS
public static final java.lang.String COLUMN_MACROS
public RegexpFilter(Project project, java.lang.String expression)
public static void validate(java.lang.String expression)
public java.util.regex.Pattern getPattern()
public Filter.Result applyFilter(java.lang.String line, int entireLength)
FilterFilter.Result.applyFilter in interface Filterline - The line to be filtered. Note that the line must contain a line
separator at the end.entireLength - The length of the entire text including the line passed for filtration.null if there was no match. Otherwise, an instance of Filter.Resultprotected HyperlinkInfo createOpenFileHyperlink(java.lang.String fileName, int line, int column)
public static java.lang.String[] getMacrosName()