net.sourceforge.cvsgrab.web
Class Sourcecast3_0Interface
java.lang.Object
net.sourceforge.cvsgrab.CvsWebInterface
net.sourceforge.cvsgrab.web.ViewCvsInterface
net.sourceforge.cvsgrab.web.Sourcecast3_0Interface
public class Sourcecast3_0Interface
- extends ViewCvsInterface
Support for SourceCast 3.0 interfaces to a cvs repository.
Sourcecast 3.0 uses internally ViewCVS 0.9
- Version:
- $Revision: 1.4 $ $Date: 2005/06/25 19:51:33 $
- Author:
- Ludovic Claude
- Created:
- on 12 oct. 2003
Method Summary |
void |
detect(Document htmlPage)
Detects if the web page is compatible with this web interface, and if yes initialize it. |
protected String |
getVersionMarker()
|
boolean |
presetMatch(String rootUrl,
String packagePath)
Returns true if there is a rule that matches this web interface to the given url |
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, registerDocument, setQueryParams, setVersionTag, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Sourcecast3_0Interface
public Sourcecast3_0Interface(CVSGrab grabber)
- Constructor for Sourcecast3_0Interface
presetMatch
public boolean presetMatch(String rootUrl,
String packagePath)
- Returns true if there is a rule that matches this web interface to the given url
- Overrides:
presetMatch
in class CvsWebInterface
- Parameters:
rootUrl
- The root urlpackagePath
- The package path
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.