|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.utils.HtmlUtils
public final class HtmlUtils
Utilities to deal with HTML.
Constructor Summary | |
---|---|
HtmlUtils(String outputEncoding) Default constructor. |
Method Summary | |
---|---|
String |
clean(String htmlFragment) Cleans up the HTML fragment. |
String |
cleanHtmlAndJavadoc(String htmlFragment) Cleans up the HTML fragment and thereby also cleans Javadoc fragments. |
org.jdom.Document |
cleanJDom(String htmlFragment) Cleans up the HTML fragment. |
String |
getOutputEncoding() Returns the encoding used write. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HtmlUtils(String outputEncoding)
outputEncoding
- the encoding used write.
Method Detail |
---|
public String getOutputEncoding()
public String cleanHtmlAndJavadoc(String htmlFragment)
htmlFragment
- the dirty fragment.
public String clean(String htmlFragment)
htmlFragment
- the dirty fragment.
public org.jdom.Document cleanJDom(String htmlFragment)
htmlFragment
- the dirty fragment.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |