Class MReindent
java.lang.Object
com.io7m.montarre.xml.MReindent
Functions to indent XML.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Stringindent(byte[] data) Indent the given XML.static voidindent(byte[] data, OutputStream output) Indent the given XML to the given output.
-
Method Details
-
indent
Indent the given XML to the given output.- Parameters:
data- The XMLoutput- The output stream- Throws:
IOException- On errors
-
indent
Indent the given XML.- Parameters:
data- The XML- Returns:
- The indented text
- Throws:
IOException- On errors
-