net.sourceforge.cvsgrab.web
Class Sourcecast1_0Interface

java.lang.Object
  extended by net.sourceforge.cvsgrab.CvsWebInterface
      extended by net.sourceforge.cvsgrab.web.ViewCvsInterface
          extended by net.sourceforge.cvsgrab.web.CvsWeb2_0Interface
              extended by net.sourceforge.cvsgrab.web.Sourcecast1_0Interface

public class Sourcecast1_0Interface
extends CvsWeb2_0Interface

Support for SourceCast 2.0 interfaces to a cvs repository.

SourceCast 1.x is based apparently on CvsWeb 2.0

Version:
$Revision: 1.6 $ $Date: 2005/06/22 23:38:14 $
Author:
Ludovic Claude
Created:
on 27 dec. 2003

Field Summary
 
Fields inherited from class net.sourceforge.cvsgrab.CvsWebInterface
DETECTED_WEB_INTERFACE
 
Constructor Summary
Sourcecast1_0Interface(CVSGrab grabber)
          Constructor for Sourcecast1_0Interface
 
Method Summary
 void detect(Document htmlPage)
          Detects if the web page is compatible with this web interface, and if yes initialize it.
 
Methods inherited from class net.sourceforge.cvsgrab.web.CvsWeb2_0Interface
getVersionMarker
 
Methods inherited from class net.sourceforge.cvsgrab.web.ViewCvsInterface
adjustFile, getBaseUrl, getCheckoutPath, getCvsrootParam, getDirectories, getDirectoriesXpath, getDirectoryUrl, getDirectoryXpath, getDownloadUrl, getFileNameXpath, getFiles, getFilesXpath, getFileVersionXpath, getId, getProjectRoot, getTagParam, getType, getWebInterfaceType, guessWebProperties, init, quote, setCheckoutPath, setCvsrootParam, setDirectoriesXpath, setDirectoryXpath, setFileNameXpath, setFilesXpath, setFileVersionXpath, setTagParam, setType, setWebInterfaceType
 
Methods inherited from class net.sourceforge.cvsgrab.CvsWebInterface
findInterface, getAltBaseUrl, getBaseUrls, getGrabber, getInterface, getInterfaceIds, getQueryParams, getVersionTag, getWebProperties, presetMatch, registerDocument, setQueryParams, setVersionTag, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sourcecast1_0Interface

public Sourcecast1_0Interface(CVSGrab grabber)
Constructor for Sourcecast1_0Interface

Method Detail

detect

public void detect(Document htmlPage)
            throws MarkerNotFoundException,
                   InvalidVersionException
Detects if the web page is compatible with this web interface, and if yes initialize it.

Overrides:
detect in class CvsWeb2_0Interface
Parameters:
htmlPage - The web page
Throws:
MarkerNotFoundException - if the version marker for the web interface was not found
InvalidVersionException - if the version detected is incompatible with the version supported by this web interface.


Copyright © 2002-2005 Ludovic Claude. All Rights Reserved.