com.liferay.portal.tools.sourceformatter
Class SourceFormatter
java.lang.Object
com.liferay.portal.tools.sourceformatter.SourceFormatter
public class SourceFormatter
- extends Object
Constructor Summary |
SourceFormatter(boolean useProperties,
boolean throwException,
boolean printErrors,
boolean autoFix)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SourceFormatter
public SourceFormatter(boolean useProperties,
boolean throwException,
boolean printErrors,
boolean autoFix)
throws Exception
- Throws:
Exception
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()