|
Oracle® Ultra Search Java API Reference 11g Release 1 (11.1) B28329-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UrlRewriter
UrlRewriter is an interface for crawler user to rewrite the url links extracted from the web page
Method Summary | |
---|---|
void |
close() Close url rewriter |
void |
open(java.io.PrintWriter log) Open url rewriter |
boolean |
rewrite(UrlCandidate candidate) rewrite the submitted url |
Method Detail |
---|
void open(java.io.PrintWriter log) throws UrlRewriteException
log
- the crawler log fileUrlRewriteException
- if errorvoid close() throws UrlRewriteException
UrlRewriteException
- if errorboolean rewrite(UrlCandidate candidate) throws UrlRewriteException
candidate
- the target url stringUrlRewriteException
- if error
|
Oracle® Ultra Search Java API Reference 11g Release 1 (11.1) B28329-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |