public class DotGraphUtility
extends java.lang.Object
Constructor and Description |
---|
DotGraphUtility() |
Modifier and Type | Method and Description |
---|---|
static void |
renderLine(java.io.OutputStream out,
java.lang.String content,
int indent) |
static java.lang.String |
replaceQuotes(java.lang.String original)
Replace any
" with \" . |
static java.lang.String |
replaceReturns(java.lang.String original)
Replace any return (
\n ) with \\n . |
public static java.lang.String replaceQuotes(java.lang.String original)
"
with \"
. If the "
character was
already escaped (i.e. \"
), then the escape character is also
escaped (i.e. \\\"
).original
- public static java.lang.String replaceReturns(java.lang.String original)
\n
) with \\n
.original
- public static void renderLine(java.io.OutputStream out, java.lang.String content, int indent) throws java.io.IOException
java.io.IOException