com.liferay.portal.tools.sourceformatter
Class CSSSourceProcessor
java.lang.Object
com.liferay.portal.tools.sourceformatter.BaseSourceProcessor
com.liferay.portal.tools.sourceformatter.CSSSourceProcessor
- All Implemented Interfaces:
- SourceProcessor
public class CSSSourceProcessor
- extends BaseSourceProcessor
| Methods inherited from class com.liferay.portal.tools.sourceformatter.BaseSourceProcessor |
checkEmptyCollection, checkIfClauseParentheses, checkInefficientStringMethods, checkLanguageKeys, checkStringBundler, fixCompatClassImports, fixCopyright, fixIncorrectParameterTypeForLanguageUtil, fixSessionKey, format, format, format, format, formatJavaTerms, formatTagAttributeType, getAbsolutePath, getAnnotationsExclusions, getCompatClassNamesMap, getContent, getCustomCopyright, getErrorMessages, getFile, getFileNames, getFileNames, getFirstSourceMismatchException, getImmutableFieldTypes, getLanguageKeys, getLanguageProperties, getMainReleaseVersion, getProperty, getPropertyList, hasMissingParentheses, hasRedundantParentheses, hasRedundantParentheses, isAttributName, isExcluded, isExcluded, isExcluded, isRunsOutsidePortal, processErrorMessage, processFormattedFile, replacePrimitiveWrapperInstantiation, sortAttributes, stripLine, stripQuotes, stripRedundantParentheses, trimContent, trimLine |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CSSSourceProcessor
public CSSSourceProcessor()
doFormat
protected String doFormat(File file,
String fileName,
String absolutePath,
String content)
throws Exception
- Specified by:
doFormat in class BaseSourceProcessor
- Throws:
Exception
fixComments
protected String fixComments(String content)
fixHexColors
protected String fixHexColors(String content)
format
protected void format()
throws Exception
- Specified by:
format in class BaseSourceProcessor
- Throws:
Exception