Class LinkVerifier

  extended byjava.lang.Thread
      extended byrabbit.linkchecker.LinkVerifier
All Implemented Interfaces:

public class LinkVerifier
extends java.lang.Thread

linkchecker... This is how it should work when it is finished:

 mailto:user@host.net => SMTP, VRFY user
 href=page => follow the link if page in given set (test that external link works but do not recurse them).
 news => ignore. 
 file => warn
 ftp  => check that the file exist.
 imagemaps => as specified above.
 frameset  => as specified above.
 applets   => check that it exists.
 images    => check that it exists.
 anchors   => check that the page has them.

 proxy support.
authentifiering => if basic-auth then use it since it is simple.

Field Summary
static java.lang.String VERSION
          Current version
Fields inherited from class java.lang.Thread
Constructor Summary
LinkVerifier(java.net.URL prev, java.net.URL url)
          Create a new LinkVerifier for the given urls.
Method Summary
static void main(java.lang.String[] args)
static void printHelp()
          print out the helptext to the user.
 void run()
          Fetch the page and recurse the urls found.
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail


public static final java.lang.String VERSION
Current version

See Also:
Constant Field Values
Constructor Detail


public LinkVerifier(java.net.URL prev,
                    java.net.URL url)
Create a new LinkVerifier for the given urls.

prev - the URL we came from.
url - the URL to fetch.
Method Detail


public void run()
Fetch the page and recurse the urls found.


public static void printHelp()
print out the helptext to the user.


public static void main(java.lang.String[] args)