org.hibernate.tool.ide.formatting
Class JavaFormatter

java.lang.Object
  extended by org.hibernate.tool.ide.formatting.JavaFormatter

public class JavaFormatter
extends Object


Constructor Summary
JavaFormatter(Map settings)
           
 
Method Summary
 boolean formatFile(File file)
          Throws exception if not possible to read or write the file.
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaFormatter

public JavaFormatter(Map settings)
Method Detail

main

public static void main(String[] args)
Parameters:
args -

formatFile

public boolean formatFile(File file)
                   throws ExporterException
Throws exception if not possible to read or write the file. Returns true if formatting went ok; returns false if the formatting could not finish because of errors in the input.

Parameters:
file -
codeFormatter -
Returns:
Throws:
ExporterException