Package com.jalios.jcms.tools
Class LessChecker
- java.lang.Object
-
- com.jalios.jcms.tools.AbstractChecker
-
- com.jalios.jcms.tools.LessChecker
-
public class LessChecker extends AbstractChecker
Check CSS/LESS files.- Since:
- jcms-10.0.2
- Author:
- Sylvain Devaux
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
IGNORE_CHECK_NON_BREAKING_SPACE
-
Fields inherited from class com.jalios.jcms.tools.AbstractChecker
CHANNEL, PROP_SUFFIX_FILE_FILTER
-
-
Constructor Summary
Constructors Constructor Description LessChecker()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CheckResult
checkAll(java.io.File webappDir)
static void
checkNonBreakingSpace(CheckResult result, CheckedFile file, CheckerContext checkerContext)
static void
checkPattern(java.lang.String checkName, org.apache.oro.text.regex.Pattern invalidUsePattern, CheckResult result, CheckedFile file)
static void
main(java.lang.String[] args)
-
Methods inherited from class com.jalios.jcms.tools.AbstractChecker
getCheckedFile, getFileList, getFileList, loadLanguageProperties, loadProperties, loadProperties, saveError
-
-
-
-
Field Detail
-
IGNORE_CHECK_NON_BREAKING_SPACE
public static final java.lang.String IGNORE_CHECK_NON_BREAKING_SPACE
- See Also:
- Constant Field Values
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.io.IOException
- Throws:
java.io.IOException
-
checkAll
public static CheckResult checkAll(java.io.File webappDir) throws java.io.IOException
- Throws:
java.io.IOException
-
checkNonBreakingSpace
public static void checkNonBreakingSpace(CheckResult result, CheckedFile file, CheckerContext checkerContext) throws java.io.IOException
- Throws:
java.io.IOException
-
checkPattern
public static void checkPattern(java.lang.String checkName, org.apache.oro.text.regex.Pattern invalidUsePattern, CheckResult result, CheckedFile file)
-
-