com.liferay.portal.tools.sourceformatter
Class JSSourceProcessor
java.lang.Object
com.liferay.portal.tools.sourceformatter.BaseSourceProcessor
com.liferay.portal.tools.sourceformatter.JSSourceProcessor
- All Implemented Interfaces:
- SourceProcessor
public class JSSourceProcessor
- extends BaseSourceProcessor
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 |
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 |
JSSourceProcessor
public JSSourceProcessor()
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