net.sf.jaxme.js.util
Class LinkChecker
java.lang.Object
net.sf.jaxme.js.util.LinkChecker
- Direct Known Subclasses:
- AntLinkChecker.MyLinkChecker
- public class LinkChecker
- extends java.lang.Object
Basic implementation of a link checker for the JaxMe
HTML distribution.
- Author:
- Jochen Wiedmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinkChecker
public LinkChecker()
addEvent
protected void addEvent(net.sf.jaxme.js.util.LinkChecker.Event pEvent)
handleError
protected void handleError(java.net.URL pURL,
int pPos,
java.lang.String pMsg)
handleRefError
protected void handleRefError(java.net.URL pURL,
java.net.URL pRefURL,
int pPos,
java.lang.String pMsg)
handleWarning
protected void handleWarning(java.net.URL pURL,
int pPos,
java.lang.String pMsg)
getLogger
public Logger getLogger()
setLogger
public void setLogger(Logger pLogger)
setSeverity
public void setSeverity(java.lang.String pSeverity)
getSeverity
public int getSeverity()
setProxy
public void setProxy(java.lang.String pProxy)
setProxyHost
public void setProxyHost(java.lang.String pHost)
getProxyHost
public java.lang.String getProxyHost()
setProxyPort
public void setProxyPort(java.lang.String pPort)
getProxyPort
public java.lang.String getProxyPort()
addURL
public void addURL(java.net.URL pURL,
java.io.InputStream pStream)
addURL
public void addURL(java.net.URL pURL)
addURL
public void addURL(net.sf.jaxme.js.util.LinkChecker.CheckedURL pURL)
parse
public void parse(net.sf.jaxme.js.util.LinkChecker.CheckedURL pURL)
throws java.io.IOException
- Throws:
java.io.IOException
parse
public void parse()
main
public static void main(java.lang.String[] args)