org.hibernate.tool.hbm2x
Class XMLPrettyPrinter

java.lang.Object
  extended by org.hibernate.tool.hbm2x.XMLPrettyPrinter

public final class XMLPrettyPrinter
extends Object

Author:
max

Method Summary
static void prettyPrint(InputStream in, OutputStream writer)
           
static void prettyPrintDirectory(File outputdir, String prefix, boolean silent)
           
static void prettyPrintFile(org.w3c.tidy.Tidy tidy, File inputFile, File outputFile, boolean silent)
           
static void prettyPrintFiles(org.w3c.tidy.Tidy tidy, File[] inputfiles, File[] outputfiles, boolean silent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

prettyPrint

public static void prettyPrint(InputStream in,
                               OutputStream writer)
                        throws IOException
Throws:
IOException

prettyPrintFiles

public static void prettyPrintFiles(org.w3c.tidy.Tidy tidy,
                                    File[] inputfiles,
                                    File[] outputfiles,
                                    boolean silent)
                             throws IOException
Throws:
IOException

prettyPrintFile

public static void prettyPrintFile(org.w3c.tidy.Tidy tidy,
                                   File inputFile,
                                   File outputFile,
                                   boolean silent)
                            throws IOException
Throws:
IOException

prettyPrintDirectory

public static void prettyPrintDirectory(File outputdir,
                                        String prefix,
                                        boolean silent)
                                 throws IOException
Parameters:
outputdir -
Throws:
IOException