# Class MReindent

java.lang.Object
com.io7m.montarre.xml.MReindent

public final class MReindent extends Object
Functions to indent XML.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static String`
  `indent(byte[] data)`
  Indent the given XML.
  `static void`
  `indent(byte[] data, OutputStream output)`
  Indent the given XML to the given output.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### indent

    public static void indent(byte[] data, OutputStream output) throws IOException
    Indent the given XML to the given output.
    Parameters:
      `data` - The XML
      `output` - The output stream
    Throws:
      `IOException` - On errors

  - ### indent

    public static String indent(byte[] data) throws IOException
    Indent the given XML.
    Parameters:
      `data` - The XML
    Returns:
      The indented text
    Throws:
      `IOException` - On errors