public interface UriFilter
CrawleableUri
object
imposes a certain requirement or not.Modifier and Type | Method and Description |
---|---|
void |
add(CrawleableUri uri)
Adds the given URI to the list of already known URIs.
|
boolean |
isUriGood(CrawleableUri uri)
Returns true if the given
CrawleableUri object fulfills the
requirements imposed by this filter. |
boolean isUriGood(CrawleableUri uri)
CrawleableUri
object fulfills the
requirements imposed by this filter.uri
- the CrawleableUri
object that is checkedCrawleableUri
object fulfills the
requirements imposed by this filter. Otherwise false is returned.void add(CrawleableUri uri)
#add(CrawleableUri, long)
with the current system time.uri
- the URI that should be added to the list.Copyright © 2017–2020. All rights reserved.