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