net.sourceforge.cvsgrab.web
Class CvsWeb3_0Interface
java.lang.Object
net.sourceforge.cvsgrab.CvsWebInterface
net.sourceforge.cvsgrab.web.ViewCvsInterface
net.sourceforge.cvsgrab.web.CvsWeb3_0Interface
public class CvsWeb3_0Interface
- extends ViewCvsInterface
Support for CvsWeb 3.0 interfaces to a cvs repository
- Version:
- $Revision: 1.4 $ $Date: 2005/06/24 00:04:46 $
- Author:
- Ludovic Claude
- Created:
- on 7 dec. 2003
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 |
CvsWeb3_0Interface
public CvsWeb3_0Interface(CVSGrab grabber)
- Constructor for CvsWeb3_0Interface
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 ViewCvsInterface
- 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.
getVersionMarker
protected String getVersionMarker()
-
- Specified by:
getVersionMarker
in class ViewCvsInterface
- Returns:
Copyright © 2002-2005 Ludovic Claude. All Rights Reserved.