(String url, WebPage page)
| 182 | } |
| 183 | |
| 184 | public boolean status(String url, WebPage page) { |
| 185 | byte status = page.getStatus().byteValue(); |
| 186 | if (status != CrawlStatus.STATUS_FETCHED) { |
| 187 | if (LOG.isDebugEnabled()) { |
| 188 | LOG.debug("Skipping " + url + " as status is: " |
| 189 | + CrawlStatus.getName(status)); |
| 190 | } |
| 191 | return true; |
| 192 | } |
| 193 | return false; |
| 194 | } |
| 195 | |
| 196 | /** |
| 197 | * Parses given sitemap page and stores parsed content within page. |
no test coverage detected