public class PropertiesSourceProcessor extends BaseSourceProcessor
attributeNamePattern, emptyCollectionPattern, languageKeyPattern, PORTAL_MAX_DIR_LEVEL, portalSource, principalExceptionPattern, sessionKeyPattern, sourceFormatterArgs, taglibSessionKeyPattern| Constructor and Description |
|---|
PropertiesSourceProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
doFormat(java.io.File file,
java.lang.String fileName,
java.lang.String absolutePath,
java.lang.String content) |
protected java.util.List<java.lang.String> |
doGetFileNames() |
protected java.lang.String |
formatPortalPortalProperties(java.lang.String fileName,
java.lang.String content) |
protected void |
formatPortalProperties(java.lang.String fileName,
java.lang.String content) |
protected java.lang.String |
formatPortletProperties(java.lang.String fileName,
java.lang.String content) |
protected void |
formatSourceFormatterProperties(java.lang.String fileName,
java.lang.String content) |
java.lang.String[] |
getIncludes() |
protected java.lang.String |
getPortalPortalProperties() |
checkEmptyCollection, checkIfClauseParentheses, checkInefficientStringMethods, checkLanguageKeys, checkPrincipalException, checkStringBundler, fixCompatClassImports, fixCopyright, fixIncorrectParameterTypeForLanguageUtil, fixSessionKey, format, format, format, formatIncorrectSyntax, formatJavaTerms, formatTagAttributeType, formatWhitespace, getAbsolutePath, getAnnotationsExclusions, getCompatClassNamesMap, getContent, getCustomCopyright, getErrorMessages, getFile, getFileNames, getFileNames, getFileNames, getFileNames, getFirstSourceMismatchException, getImmutableFieldTypes, getLanguageKeys, getLanguageProperties, getLeadingTabCount, getMainReleaseVersion, getModifiedFileNames, getProperty, getPropertyList, getRunOutsidePortalExclusionPaths, hasMissingParentheses, hasRedundantParentheses, hasRedundantParentheses, isAttributName, isExcludedFile, isExcludedFile, isExcludedFile, isExcludedPath, isModulesFile, processErrorMessage, processFormattedFile, replacePrimitiveWrapperInstantiation, setSourceFormatterArgs, sortAttributes, sortHTMLAttributes, stripQuotes, stripRedundantParentheses, trimContent, trimLinepublic java.lang.String[] getIncludes()
protected java.lang.String doFormat(java.io.File file,
java.lang.String fileName,
java.lang.String absolutePath,
java.lang.String content)
throws java.lang.Exception
doFormat in class BaseSourceProcessorjava.lang.Exceptionprotected java.util.List<java.lang.String> doGetFileNames()
throws java.lang.Exception
doGetFileNames in class BaseSourceProcessorjava.lang.Exceptionprotected java.lang.String formatPortalPortalProperties(java.lang.String fileName,
java.lang.String content)
throws java.lang.Exception
java.lang.Exceptionprotected void formatPortalProperties(java.lang.String fileName,
java.lang.String content)
throws java.lang.Exception
java.lang.Exceptionprotected java.lang.String formatPortletProperties(java.lang.String fileName,
java.lang.String content)
throws java.lang.Exception
java.lang.Exceptionprotected void formatSourceFormatterProperties(java.lang.String fileName,
java.lang.String content)
throws java.lang.Exception
java.lang.Exceptionprotected java.lang.String getPortalPortalProperties()
throws java.lang.Exception
java.lang.Exception