|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.cvsgrab.CvsWebInterface
net.sourceforge.cvsgrab.web.ViewCvsInterface
net.sourceforge.cvsgrab.web.FishEye1_0Interface
public class FishEye1_0Interface
Support for FishEye 0.8, 0.9 and maybe 1.0 interfaces to a cvs repository
| Field Summary |
|---|
| Fields inherited from class net.sourceforge.cvsgrab.CvsWebInterface |
|---|
DETECTED_WEB_INTERFACE |
| Constructor Summary | |
|---|---|
FishEye1_0Interface(CVSGrab grabber)
|
|
| Method Summary | |
|---|---|
protected void |
adjustFile(RemoteFile file,
org.apache.commons.jxpath.JXPathContext nodeContext)
|
void |
detect(Document htmlPage)
Detects if the web page is compatible with this web interface, and if yes initialize it. |
String[] |
getDirectories(Document htmlPage)
|
String |
getDirectoryUrl(String rootUrl,
String directoryName)
|
String |
getDownloadUrl(RemoteFile file)
|
protected String |
getVersionMarker()
|
Properties |
guessWebProperties(String url)
Guess the web properties frmo the full url |
protected String |
quote(String original)
Python-style of URIUtil.encodePath |
| Methods inherited from class net.sourceforge.cvsgrab.web.ViewCvsInterface |
|---|
getBaseUrl, getCheckoutPath, getCvsrootParam, getDirectoriesXpath, getDirectoryXpath, getFileNameXpath, getFiles, getFilesXpath, getFileVersionXpath, getId, getProjectRoot, getTagParam, getType, getWebInterfaceType, init, 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 |
|---|
public FishEye1_0Interface(CVSGrab grabber)
| Method Detail |
|---|
public void detect(Document htmlPage)
throws MarkerNotFoundException,
InvalidVersionException
detect in class ViewCvsInterfacehtmlPage - The web page
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.
public String getDirectoryUrl(String rootUrl,
String directoryName)
getDirectoryUrl in class ViewCvsInterfacepublic String[] getDirectories(Document htmlPage)
getDirectories in class ViewCvsInterfacepublic String getDownloadUrl(RemoteFile file)
getDownloadUrl in class ViewCvsInterfacepublic Properties guessWebProperties(String url)
CvsWebInterface
guessWebProperties in class ViewCvsInterfaceurl - the full url
protected String quote(String original)
throws org.apache.commons.httpclient.URIException
quote in class ViewCvsInterfaceoriginal - The string to quote
org.apache.commons.httpclient.URIExceptionprotected String getVersionMarker()
getVersionMarker in class ViewCvsInterface
protected void adjustFile(RemoteFile file,
org.apache.commons.jxpath.JXPathContext nodeContext)
adjustFile in class ViewCvsInterface
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||