|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.util.PlainTextToHtmlConverter
public class PlainTextToHtmlConverter
Static methods for the conversion of text to HTML.
| Constructor Summary | |
|---|---|
PlainTextToHtmlConverter()
|
|
| Method Summary | |
|---|---|
static String[] |
encodeHtmlEntities(Object... items)
Encodes the angle brackets, ampersands, and quotation marks in all the input items as HTML entities. |
static String[] |
encodeHtmlEntities(String... items)
Encodes the angle brackets, ampersands, and quotation marks in all the input items as HTML entities. |
static String |
encodeHtmlEntities(String text)
Encodes the angle brackets, ampersands, and quotation marks in the input as HTML entities. |
static String |
matchAndReplaceSpaces(String html)
|
static String |
toHtml(String plainText)
The function converts plain text into html in two steps. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlainTextToHtmlConverter()
| Method Detail |
|---|
public static String toHtml(String plainText)
public static String[] encodeHtmlEntities(Object... items)
String.valueOf(java.lang.Object).
items - objects to convert to strings and encode
public static String[] encodeHtmlEntities(String... items)
items - strings to encode
public static String encodeHtmlEntities(String text)
text - string to encode
public static String matchAndReplaceSpaces(String html)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||