This documentation is part of the Link Checker Library project.

de.tw.website.linkchecker
Interface Report

All Known Implementing Classes:
HtmlReport, PrintWriterReport

public interface Report

Notifications while checking a website.

Version:
1.0
Author:
Thomas Weinbrenner

Method Summary
 void fileNotFoundUrl(java.lang.String startUrl, java.lang.String targetUrl)
          Reference to a file which does not exist.
 void fileNotReferenced(java.lang.String fileName)
          Unreferenced file.
 void javaScriptInReference(java.lang.String startUrl, java.lang.String targetUrl)
          Found javascript code in a <a href=""> reference.
 void noFileProtocol(java.lang.String startUrl, java.lang.String targetUrl)
          A reference which is not a file protocol.
 void normalReference(java.lang.String startUrl, java.lang.String targetUrl, ReferenceType referenceType)
          An ordinary reference.
 void noUrlMappedForFile(java.lang.String fileName)
          The file found in the file system could not be mapped to a URL.
 void parseException(java.lang.String startUrl, java.lang.Exception e)
          Exception when parsing HTML.
 void referenceWithWrongCase(java.lang.String startUrl, java.lang.String wrongTargetUrl, java.lang.String correctTargetUrl, ReferenceType referenceType)
          A reference contains characters with wrong cases.
 void relativeUrlOutsideMapping(java.lang.String startUrl, java.lang.String targetUrl)
          A relative URL has been found which does not map to a file.
 void urlConnectionException(java.lang.String url, java.lang.Exception e)
          Problem when trying to make a HTTP-Request to a URL.
 void urlToOtherWebSite(java.lang.String startUrl, java.lang.String targetUrl)
          URL to another web site.
 

Method Detail

urlToOtherWebSite

public void urlToOtherWebSite(java.lang.String startUrl,
                              java.lang.String targetUrl)
URL to another web site.

relativeUrlOutsideMapping

public void relativeUrlOutsideMapping(java.lang.String startUrl,
                                      java.lang.String targetUrl)
A relative URL has been found which does not map to a file.

referenceWithWrongCase

public void referenceWithWrongCase(java.lang.String startUrl,
                                   java.lang.String wrongTargetUrl,
                                   java.lang.String correctTargetUrl,
                                   ReferenceType referenceType)
A reference contains characters with wrong cases.

normalReference

public void normalReference(java.lang.String startUrl,
                            java.lang.String targetUrl,
                            ReferenceType referenceType)
An ordinary reference.

fileNotFoundUrl

public void fileNotFoundUrl(java.lang.String startUrl,
                            java.lang.String targetUrl)
Reference to a file which does not exist.

urlConnectionException

public void urlConnectionException(java.lang.String url,
                                   java.lang.Exception e)
Problem when trying to make a HTTP-Request to a URL.

noFileProtocol

public void noFileProtocol(java.lang.String startUrl,
                           java.lang.String targetUrl)
A reference which is not a file protocol.

noUrlMappedForFile

public void noUrlMappedForFile(java.lang.String fileName)
The file found in the file system could not be mapped to a URL.

fileNotReferenced

public void fileNotReferenced(java.lang.String fileName)
Unreferenced file. These notifications occur after all references beginning at a given start page have been analysed.

javaScriptInReference

public void javaScriptInReference(java.lang.String startUrl,
                                  java.lang.String targetUrl)
Found javascript code in a <a href=""> reference.

parseException

public void parseException(java.lang.String startUrl,
                           java.lang.Exception e)
Exception when parsing HTML.

This documentation is part of the Link Checker Library project.