Liferay 6.2-ce-ga5

com.liferay.portal.tools.sourceformatter
Class SourceFormatter

java.lang.Object
  extended by com.liferay.portal.tools.sourceformatter.SourceFormatter

public class SourceFormatter
extends Object


Constructor Summary
SourceFormatter(boolean useProperties, boolean throwException, boolean printErrors, boolean autoFix)
           
 
Method Summary
 void format()
           
 Tuple format(String fileName)
           
 String getMainReleaseVersion()
           
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

SourceFormatter

public SourceFormatter(boolean useProperties,
                       boolean throwException,
                       boolean printErrors,
                       boolean autoFix)
                throws Exception
Throws:
Exception
Method Detail

main

public static void main(String[] args)

format

public void format()
            throws Exception
Throws:
Exception

format

public Tuple format(String fileName)
             throws Exception
Throws:
Exception

getMainReleaseVersion

public String getMainReleaseVersion()

Liferay 6.2-ce-ga5