public class GraphvizUtils extends Object
| Constructor | Description |
|---|---|
GraphvizUtils() |
| Modifier and Type | Method | Description |
|---|---|---|
static String |
htmlEncode(CharSequence unsafeStr) |
Encode HTML-unsafe characters as HTML entities.
|
static void |
htmlEncode(CharSequence unsafeStr,
boolean turnNewlineIntoBreak,
StringBuilder buf) |
Encode HTML-unsafe characters as HTML entities.
|
static void |
htmlEncode(CharSequence unsafeStr,
StringBuilder buf) |
Encode HTML-unsafe characters as HTML entities.
|
public static void htmlEncode(CharSequence unsafeStr, boolean turnNewlineIntoBreak, StringBuilder buf)
unsafeStr - The string to escape to make HTML-safe.turnNewlineIntoBreak - If true, turn '\n' into a break element in the output.public static void htmlEncode(CharSequence unsafeStr, StringBuilder buf)
unsafeStr - The string to escape to make HTML-safe.public static String htmlEncode(CharSequence unsafeStr)
Copyright © 2018. All rights reserved.