net.sourceforge.cvsgrab.web
Class ViewCvs0_9Interface
java.lang.Object
net.sourceforge.cvsgrab.CvsWebInterface
net.sourceforge.cvsgrab.web.ViewCvsInterface
net.sourceforge.cvsgrab.web.ViewCvs0_9Interface
public class ViewCvs0_9Interface
- extends ViewCvsInterface
Support for ViewCvs 0.9 interfaces to a cvs repository
- Version:
- $Revision: 1.7 $ $Date: 2005/06/22 23:38:14 $
- Author:
- Ludovic Claude
- Created:
- on 11 oct. 2003
Methods inherited from class net.sourceforge.cvsgrab.web.ViewCvsInterface |
adjustFile, getBaseUrl, getCheckoutPath, getCvsrootParam, getDirectories, getDirectoriesXpath, getDirectoryUrl, getDirectoryXpath, getDownloadUrl, getFileNameXpath, getFiles, getFilesXpath, getFileVersionXpath, getId, 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, 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 |
ViewCvs0_9Interface
public ViewCvs0_9Interface(CVSGrab grabber)
- Constructor for ViewCvs0_9Interface
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
getAltBaseUrl
public String getAltBaseUrl()
- Overrides:
getAltBaseUrl
in class CvsWebInterface
- Returns:
- the alternate base url to use when trying to auto-detect this type of web interface
getProjectRoot
public String getProjectRoot()
- Overrides:
getProjectRoot
in class ViewCvsInterface
- Returns:
setProjectRoot
public void setProjectRoot(String root)
- Parameters:
root
-
Copyright © 2002-2005 Ludovic Claude. All Rights Reserved.