Class SiteUtil.DescriptionExtractor
java.lang.Object
com.puppycrawl.tools.checkstyle.site.SiteUtil.DescriptionExtractor
- Enclosing class:
- SiteUtil
Utility class for extracting description from a method's Javadoc.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
handleInternalLink
(StringBuilder description, String moduleName, String value) Converts the href value to a relative link to the document and appends it to the description.
-
Constructor Details
-
DescriptionExtractor
private DescriptionExtractor()
-
-
Method Details
-
handleInternalLink
private static void handleInternalLink(StringBuilder description, String moduleName, String value) throws org.apache.maven.doxia.macro.MacroExecutionException Converts the href value to a relative link to the document and appends it to the description.- Parameters:
description
- the description to append the relative link to.moduleName
- the name of the module.value
- the href value.- Throws:
org.apache.maven.doxia.macro.MacroExecutionException
- if the relative link could not be created.
-