|
Regain 2.1.0-STABLE API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UrlMatcher
A matcher that checks URLs whether they match to a certain pattern.
Method Summary | |
---|---|
boolean |
getShouldBeIndexed()
Gets a flag whether the content should be indexed. |
boolean |
getShouldBeParsed()
Gets a flag whether links should be extracted from the content |
boolean |
matches(String url)
Checks whether a URL matches to the rules of this matcher. |
void |
setShouldBeIndexed(boolean shouldBeIndexed)
Sets a flag whether the content should be indexed. |
void |
setShouldBeParsed(boolean shouldBeParsed)
Sets a flag whether links should be extracted from the content |
Method Detail |
---|
boolean matches(String url)
url
- The URL to check.
boolean getShouldBeParsed()
boolean getShouldBeIndexed()
void setShouldBeParsed(boolean shouldBeParsed)
void setShouldBeIndexed(boolean shouldBeIndexed)
|
Regain 2.1.0-STABLE API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |