Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for formatCode (0.38 sec)

  1. src/test/java/org/codelibs/fess/taglib/FessFunctionsTest.java

        }
    
        public void test_formatCode() {
            String code;
            String value;
    
            code = "";
            value = FessFunctions.formatCode("L", "prettyprint", "text/plain", code);
            assertEquals("<pre class=\"prettyprint\"></pre>", value);
    
            code = "aaa";
            value = FessFunctions.formatCode("L", "prettyprint", "text/plain", code);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            if (input == null) {
                return StringUtil.EMPTY;
            }
            return input.toString().replaceAll(regex, replacement);
        }
    
        public static String formatCode(final String prefix, final String style, final String mimetype, final String input) {
            if (input == null) {
                return StringUtil.EMPTY;
            }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.9K bytes
    - Viewed (0)
Back to top