Class LessChecker


  • public class LessChecker
    extends AbstractChecker
    Check CSS/LESS files.
    Since:
    jcms-10.0.2
    Author:
    Sylvain Devaux
    • Field Detail

      • IGNORE_CHECK_NON_BREAKING_SPACE

        public static final java.lang.String IGNORE_CHECK_NON_BREAKING_SPACE
        See Also:
        Constant Field Values
    • Constructor Detail

      • LessChecker

        public LessChecker()
    • 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)