Package soot.util.dot
Class DotGraphUtility
- java.lang.Object
-
- soot.util.dot.DotGraphUtility
-
public class DotGraphUtility extends Object
-
-
Constructor Summary
Constructors Constructor Description DotGraphUtility()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidrenderLine(OutputStream out, String content, int indent)static StringreplaceQuotes(String original)Replace any"with\".static StringreplaceReturns(String original)Replace any return (\n) with\\n.
-
-
-
Method Detail
-
replaceQuotes
public static String replaceQuotes(String original)
Replace any"with\". If the"character was already escaped (i.e.\"), then the escape character is also escaped (i.e.\\\").- Parameters:
original-- Returns:
-
replaceReturns
public static String replaceReturns(String original)
Replace any return (\n) with\\n.- Parameters:
original-- Returns:
-
renderLine
public static void renderLine(OutputStream out, String content, int indent) throws IOException
- Throws:
IOException
-
-