Modifier and Type | Class and Description |
---|---|
static class |
UrlFilter.UrlFilterProvider |
Filter.NextAction, Filter.Result, Filter.ResultItem
EMPTY_ARRAY
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 |
buildHyperlinkInfo(java.lang.String url) |
public UrlFilter()
public UrlFilter(Project project)
public Filter.Result applyFilter(java.lang.String line, int entireLength)
Filter
Filter.Result
.applyFilter
in interface Filter
line
- 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.Result
protected HyperlinkInfo buildHyperlinkInfo(java.lang.String url)