com.mulesoft.utils.xml
Class Formatter

java.lang.Object
  extended by com.mulesoft.utils.xml.Formatter

public class Formatter
extends Object


Constructor Summary
Formatter(Writer writer, int indentSize)
           
 
Method Summary
 void adjustIndent(int count)
           
 void close()
           
 void flush()
           
 void indent()
           
 void put(char c)
           
 void put(String string)
           
 void putLine()
           
 void putSpace()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Formatter

public Formatter(Writer writer,
                 int indentSize)
Method Detail

indent

public void indent()
            throws IOException
Throws:
IOException

put

public void put(String string)
         throws IOException
Throws:
IOException

put

public void put(char c)
         throws IOException
Throws:
IOException

putLine

public void putLine()
             throws IOException
Throws:
IOException

putSpace

public void putSpace()
              throws IOException
Throws:
IOException

adjustIndent

public void adjustIndent(int count)

flush

public void flush()
           throws IOException
Throws:
IOException

close

public void close()
           throws IOException
Throws:
IOException


Copyright © 2012. All Rights Reserved.