Liferay 6.2-ce-ga5

com.liferay.portal.tools.sourceformatter
Class SQLSourceProcessor

java.lang.Object
  extended by com.liferay.portal.tools.sourceformatter.BaseSourceProcessor
      extended by com.liferay.portal.tools.sourceformatter.SQLSourceProcessor
All Implemented Interfaces:
SourceProcessor

public class SQLSourceProcessor
extends BaseSourceProcessor


Field Summary
 
Fields inherited from class com.liferay.portal.tools.sourceformatter.BaseSourceProcessor
BASEDIR, fileUtil, languageKeyPattern, MAIN_RELEASE_VERSION_6_1_0, MAIN_RELEASE_VERSION_6_2_0, mainReleaseVersion, portalSource, saxReaderUtil, sessionKeyPattern, sourceFormatterHelper, taglibSessionKeyPattern
 
Constructor Summary
SQLSourceProcessor()
           
 
Method Summary
protected  void format()
           
protected  String format(String fileName)
           
protected  String formatSQL(String content)
           
 
Methods inherited from class com.liferay.portal.tools.sourceformatter.BaseSourceProcessor
checkIfClauseParentheses, checkInefficientStringMethods, checkLanguageKeys, checkStringBundler, fixCompatClassImports, fixCopyright, fixSessionKey, format, format, formatImports, getCompatClassNamesMap, getCopyright, getCustomCopyright, getErrorMessages, getExclusionsProperties, getFileNames, getFileNames, getLanguageKeys, getOldCopyright, hasMissingParentheses, hasRedundantParentheses, isAutoFix, processErrorMessage, replacePrimitiveWrapperInstantiation, stripQuotes, stripRedundantParentheses, stripTopLevelDirectories, trimContent, trimLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLSourceProcessor

public SQLSourceProcessor()
Method Detail

format

protected void format()
               throws Exception
Specified by:
format in class BaseSourceProcessor
Throws:
Exception

format

protected String format(String fileName)
                 throws Exception
Overrides:
format in class BaseSourceProcessor
Throws:
Exception

formatSQL

protected String formatSQL(String content)
                    throws IOException
Throws:
IOException

Liferay 6.2-ce-ga5