public class BNDSourceProcessor extends BaseSourceProcessor
applyLangMergerPluginPattern, attributeNamePattern, bndContentDirPattern, emptyCollectionPattern, getterUtilGetPattern, javaSourceInsideJSPLinePattern, jsonObjectPutBlockPattern, jsonObjectPutPattern, languageKeyPattern, mergeLangPattern, PLUGINS_MAX_DIR_LEVEL, PORTAL_MAX_DIR_LEVEL, portalSource, principalExceptionPattern, sbAppendPattern, sbAppendWithStartingSpacePattern, sessionKeyPattern, setAttributeBlockPattern, setAttributePattern, singleLengthStringPattern, sourceFormatterArgs, stringUtilReplacePattern, taglibSessionKeyPattern, validatorEqualsPattern| Constructor and Description |
|---|
BNDSourceProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkDirectoryAndBundleName(java.lang.String fileName,
java.lang.String absolutePath,
java.lang.String content) |
protected void |
checkWildcardImports(java.lang.String fileName,
java.lang.String absolutePath,
java.lang.String content,
java.util.regex.Pattern pattern) |
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 |
formatBundleClassPath(java.lang.String content) |
protected java.lang.String |
formatIncludeResource(java.lang.String content) |
java.lang.String[] |
getIncludes() |
protected java.lang.String |
sortDefinitionProperties(java.lang.String content,
java.lang.String properties,
java.util.Comparator<java.lang.String> comparator) |
adjustLevel, checkEmptyCollection, checkGetterUtilGet, checkIfClauseParentheses, checkInefficientStringMethods, checkInefficientStringMethods, checkLanguageKeys, checkOrder, checkPrincipalException, checkPropertyUtils, checkResourceUtil, checkStringUtilReplace, checkUTF8, fixCompatClassImports, fixCopyright, fixIncorrectParameterTypeForLanguageUtil, fixSessionKey, format, format, format, formatAttributes, formatEmptyArray, formatIncorrectSyntax, formatIncorrectSyntax, formatJavaTerms, formatStringBundler, formatTagAttributeType, formatWhitespace, formatWhitespace, getAbsolutePath, getAnnotationsExclusions, getBNDFileLanguageProperties, getBNDFileLocationAndContentTuple, getCompatClassNamesMap, getContent, getCustomCopyright, getErrorMessages, getFile, getFileNames, getFileNames, getFileNames, getFileNames, getFirstSourceMismatchException, getImmutableFieldTypes, getLanguageKeys, getLeadingTabCount, getLevel, getLevel, getLevel, getLevel, getLine, getLineCount, getLineLength, getLineStartPos, getMainReleaseVersion, getModifiedFileNames, getModuleLangDirNames, getModuleLangLanguageProperties, getModuleLanguageProperties, getParameterList, getPluginsInsideModulesDirectoryNames, getProperty, getPropertyList, getRunOutsidePortalExcludes, hasMissingParentheses, hasRedundantParentheses, hasRedundantParentheses, isAttributName, isExcludedPath, isExcludedPath, isExcludedPath, isModulesFile, isModulesFile, postFormat, preFormat, printError, processErrorMessage, processFormattedFile, readXML, replacePrimitiveWrapperInstantiation, setSourceFormatterArgs, sortDefinitions, sortHTMLAttributes, sortPutOrSetCalls, splitParameters, stripQuotes, stripQuotes, stripRedundantParentheses, trimContent, trimLinepublic java.lang.String[] getIncludes()
protected void checkDirectoryAndBundleName(java.lang.String fileName,
java.lang.String absolutePath,
java.lang.String content)
protected void checkWildcardImports(java.lang.String fileName,
java.lang.String absolutePath,
java.lang.String content,
java.util.regex.Pattern pattern)
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 formatBundleClassPath(java.lang.String content)
protected java.lang.String formatIncludeResource(java.lang.String content)
protected java.lang.String sortDefinitionProperties(java.lang.String content,
java.lang.String properties,
java.util.Comparator<java.lang.String> comparator)