org.apache.axis2.util
Class XMLPrettyPrinter
java.lang.Object
org.apache.axis2.util.XMLPrettyPrinter
- public class XMLPrettyPrinter
- extends Object
An XML pretty printer based on jtidy (http://sourceforge.net/projects/jtidy)
The Jtidy jar needs to be in classpath for this to work and can be found at
http://sourceforge.net/project/showfiles.php?group_id=13153
Method Summary |
static void |
prettify(File file)
Pretty prints contents of the java source file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLPrettyPrinter
public XMLPrettyPrinter()
prettify
public static void prettify(File file)
- Pretty prints contents of the java source file.
- Parameters:
file
-