|
Oracle® Ultra Search Java API Reference 10g Release 2 (10.2) B14221-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public void open(java.io.PrintWriter log) throws UrlRewriteException
log
- the crawler log fileUrlRewriteException
- if errorpublic void close() throws UrlRewriteException
UrlRewriteException
- if errorpublic boolean rewrite(UrlCandidate candidate) throws UrlRewriteException
candidate
- the target url stringUrlRewriteException
- if error
|
Oracle® Ultra Search Java API Reference 10g Release 2 (10.2) B14221-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |