|
Regain 1.7.7-STABLE API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.regain.crawler.config.WhiteListEntry
public class WhiteListEntry
Ein Eintrag in der Weißen Liste.
Die Wei�e Liste enthält Präfixe, von denen eine URL einen haben mu�, um bearbeitet zu werden.
Des weiteren wird durch die Wei�e Liste festgelegt, welche Teile des Index vom Crawler bearbeitet werden sollen.
| Field Summary | |
|---|---|
private String |
mName
The name of the white list entry. |
private boolean |
mShouldBeUpdated
Specifies whether the crawler should update URLs that match to this entry. |
private UrlMatcher |
mUrlMatcher
The UrlMatcher a URL must match to in order to be processed. |
| Constructor Summary | |
|---|---|
WhiteListEntry(UrlMatcher urlMatcher,
String name)
Creates a new instance of WhiteListEntry. |
|
| Method Summary | |
|---|---|
String |
getName()
Gets the name of the white list entry. |
UrlMatcher |
getUrlMatcher()
Gets the UrlMatcher a URL must match to in order to be processed. |
void |
setShouldBeUpdated(boolean shouldBeUpdated)
Sets whether the crawler should update URLs that match to this entry. |
boolean |
shouldBeUpdated()
Gets whether the crawler should update URLs that match to this entry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private UrlMatcher mUrlMatcher
private String mName
null.
private boolean mShouldBeUpdated
| Constructor Detail |
|---|
public WhiteListEntry(UrlMatcher urlMatcher,
String name)
urlMatcher - The UrlMatcher a URL must match to in order to be
processed.name - The name of the white list entry. May be null.| Method Detail |
|---|
public UrlMatcher getUrlMatcher()
public String getName()
null.
null.public boolean shouldBeUpdated()
public void setShouldBeUpdated(boolean shouldBeUpdated)
shouldBeUpdated - Whether the crawler should update URLs that match to
this entry.
|
Regain 1.7.7-STABLE API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||