Class FindHandler
- java.lang.Object
-
- org.apache.manifoldcf.crawler.connectors.webcrawler.FindHandler
-
- All Implemented Interfaces:
IDiscoveredLinkHandler
- Direct Known Subclasses:
FindContentHandler,FindHTMLFormHandler,FindHTMLHrefHandler,FindPreferredRedirectionHandler,FindRedirectionHandler
public class FindHandler extends java.lang.Object implements IDiscoveredLinkHandler
This class is used to discover links in a session login context
-
-
Constructor Summary
Constructors Constructor Description FindHandler(java.lang.String parentURI)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetTargetURI()voidnoteDiscoveredBase(java.lang.String rawURL)Inform the world of a new base HREF.voidnoteDiscoveredLink(java.lang.String rawURL)Inform the world of a discovered link.
-
-
-
Method Detail
-
noteDiscoveredBase
public void noteDiscoveredBase(java.lang.String rawURL) throws org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionDescription copied from interface:IDiscoveredLinkHandlerInform the world of a new base HREF.- Specified by:
noteDiscoveredBasein interfaceIDiscoveredLinkHandler- Parameters:
rawURL- is the new base HREF, in raw form. This may be relative, malformed, etc.- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
-
noteDiscoveredLink
public void noteDiscoveredLink(java.lang.String rawURL) throws org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionInform the world of a discovered link.- Specified by:
noteDiscoveredLinkin interfaceIDiscoveredLinkHandler- 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
-
getTargetURI
public java.lang.String getTargetURI()
-
-