|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.utils.JavadocCommentHelper
public final class JavadocCommentHelper
Utilities to normalize Javadoc comments.
Constructor Summary | |
---|---|
JavadocCommentHelper(String prefix1, String suffix1, String prefix2, String suffix2) Default constructor. |
Method Summary | |
---|---|
static JavadocCommentHelper |
createHtml() Creates a default helper for normalizing in an HTML context. |
static JavadocCommentHelper |
createText() Creates a default helper for normalizing in text context. |
String |
expandFirstBlock(String fragment) Usually the first paragraph in a Javadoc comment is not tagged as a paragraph to reduce the markup. |
String |
replaceJavadocInlines(String fragment) Replaces Javadoc inline tags. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavadocCommentHelper(String prefix1, String suffix1, String prefix2, String suffix2)
prefix1
- the prefix for group 1 match.
suffix1
- the suffix for group 1 match.
prefix2
- the prefix for group 2 match.
suffix2
- the suffix for group 2 match.
Method Detail |
---|
public static JavadocCommentHelper createHtml()
public static JavadocCommentHelper createText()
public String expandFirstBlock(String fragment)
fragment
- the javadoc fragment to check.
public String replaceJavadocInlines(String fragment)
fragment
- the fragment with inline tags.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |