Liferay 6.1.2-ce-ga3

com.liferay.portal.tools.sourceformatter
Class PropertiesSourceProcessor

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

public class PropertiesSourceProcessor
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
PropertiesSourceProcessor()
           
 
Method Summary
protected  void doFormat()
           
protected  void formatPortalPortalProperties(File file, String fileName)
           
protected  void formatPortalProperties()
           
protected  void formatPortalProperties(String fileName, String content)
           
 
Methods inherited from class com.liferay.portal.tools.sourceformatter.BaseSourceProcessor
checkIfClauseParentheses, checkLanguageKeys, fixCompatClassImports, fixCopyright, fixSessionKey, format, formatImports, getCompatClassNamesMap, getCopyright, getCustomCopyright, getErrorMessages, getExclusionsProperties, getFileNames, getFileNames, getLanguageKeys, getOldCopyright, hasMissingParentheses, hasRedundantParentheses, 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

PropertiesSourceProcessor

public PropertiesSourceProcessor()
Method Detail

doFormat

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

formatPortalPortalProperties

protected void formatPortalPortalProperties(File file,
                                            String fileName)
                                     throws Exception
Throws:
Exception

formatPortalProperties

protected void formatPortalProperties()
                               throws Exception
Throws:
Exception

formatPortalProperties

protected void formatPortalProperties(String fileName,
                                      String content)
                               throws IOException
Throws:
IOException

Liferay 6.1.2-ce-ga3