|
|||||||||
| Home >> All >> com >> opencms >> [ linkmanagement overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.opencms.linkmanagement
Class LinkChecker

java.lang.Objectcom.opencms.linkmanagement.LinkChecker
- public class LinkChecker
- extends java.lang.Object
Extracts all links (anchors) out of a OpenCms page.
- Version:
- 1.0
| Constructor Summary | |
LinkChecker()
|
|
| Method Summary | |
void |
checkProject(com.opencms.file.CmsObject cms,
int projectId,
com.opencms.report.I_CmsReport report)
This Method checks if the online project has broken links when the project with the projectId is published (if projectId = onlineProjectId it simply checks the online project). |
CmsPageLinks |
extractLinks(com.opencms.file.CmsObject cms,
java.lang.String page)
Checks the content of the page and extracts all links that are on this page. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
LinkChecker
public LinkChecker()
| Method Detail |
extractLinks
public CmsPageLinks extractLinks(com.opencms.file.CmsObject cms, java.lang.String page) throws com.opencms.core.CmsException
- Checks the content of the page and extracts all links that are on this page.
Used by the linkmanagement to save the links in the database.
checkProject
public void checkProject(com.opencms.file.CmsObject cms, int projectId, com.opencms.report.I_CmsReport report) throws com.opencms.core.CmsException
- This Method checks if the online project has broken links when the project with
the projectId is published (if projectId = onlineProjectId it simply checks the
online project).
|
|||||||||
| Home >> All >> com >> opencms >> [ linkmanagement overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.opencms.linkmanagement.LinkChecker