Interface IDiscoveredLinkHandler
-
- All Known Subinterfaces:
IHTMLHandler
,IRedirectionHandler
,IXMLHandler
- All Known Implementing Classes:
FindContentHandler
,FindHandler
,FindHTMLFormHandler
,FindHTMLHrefHandler
,FindPreferredRedirectionHandler
,FindRedirectionHandler
,WebcrawlerConnector.ProcessActivityHTMLHandler
,WebcrawlerConnector.ProcessActivityLinkHandler
,WebcrawlerConnector.ProcessActivityRedirectionHandler
,WebcrawlerConnector.ProcessActivityXMLHandler
public interface IDiscoveredLinkHandler
This interface describes the functionality needed by a link extractor to note a discovered link.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
noteDiscoveredBase(java.lang.String rawURL)
Inform the world of a new base HREF.void
noteDiscoveredLink(java.lang.String rawURL)
Inform the world of a discovered link.
-
-
-
Method Detail
-
noteDiscoveredBase
void noteDiscoveredBase(java.lang.String rawURL) throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
Inform the world of a new base HREF.- Parameters:
rawURL
- is the new base HREF, in raw form. This may be relative, malformed, etc.- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
-
noteDiscoveredLink
void noteDiscoveredLink(java.lang.String rawURL) throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
Inform the world of a discovered link.- Parameters:
rawURL
- is the raw discovered url. This may be relative, malformed, or otherwise unsuitable for use until final form is acheived.- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
-
-