- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 105 for escaper (0.04 sec)
-
guava-tests/test/com/google/common/xml/XmlEscapersTest.java
// Test quotes are escaped. assertEquals(""test"", xmlAttributeEscaper.escape("\"test\"")); assertEquals("'test'", xmlAttributeEscaper.escape("'test'")); // Test all escapes assertEquals( "a"b<c>d&e"f'", xmlAttributeEscaper.escape("a\"b<c>d&e\"f'")); // Test '\t', '\n' and '\r' are escaped.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 05 22:03:28 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
String escaped3 = SuggestUtil.escapeWildcardQuery(query3); assertEquals("test\\*query\\?end", escaped3); // Test with no wildcards String query4 = "test query"; String escaped4 = SuggestUtil.escapeWildcardQuery(query4); assertEquals("test query", escaped4); // Test with multiple wildcards String query5 = "***???";
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 26.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/html/HtmlEscapersTest.java
// Test simple escape of '&'. assertEquals("foo&bar", htmlEscaper().escape("foo&bar")); // If the string contains no escapes, it should return the arg. // Note: assert<b>Same</b> for this implementation. String s = "blah blah farhvergnugen"; assertSame(s, htmlEscaper().escape(s)); // Tests escapes at begin and end of string. assertEquals("<p>", htmlEscaper().escape("<p>"));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 05 22:03:28 UTC 2025 - 2.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/html/HtmlEscapersTest.java
// Test simple escape of '&'. assertEquals("foo&bar", htmlEscaper().escape("foo&bar")); // If the string contains no escapes, it should return the arg. // Note: assert<b>Same</b> for this implementation. String s = "blah blah farhvergnugen"; assertSame(s, htmlEscaper().escape(s)); // Tests escapes at begin and end of string. assertEquals("<p>", htmlEscaper().escape("<p>"));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 05 22:03:28 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/QueryStringBuilder.java
} /** * Escapes specific characters in a query string. * Replaces each specified character with its escaped version (prefixed with backslash). * * @param q the query string to escape * @param values the characters to escape * @return the escaped query string */ protected String escape(final String q, final String... values) { String value = q;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/text/JsonUtil.java
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 24 01:52:43 UTC 2025 - 1.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java
* <li>' with &apos;</li> * </ul> * Additionally, it strips invalid XML characters from the input string. * * @param value the input string to be escaped * @return the escaped XML string with invalid characters removed, or empty string if value is null */ public static String escapeXml(final String value) { if (value == null) { return StringUtil.EMPTY;
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 9.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
return escape(s) + ".*"; } final StringBuilder buf = new StringBuilder(100); return appendFileterPath(buf, escape(s)); } /** * Escapes special regex characters in a string to create a literal pattern.Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 21.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
} /** * Escapes a callback name. * @param callbackName The callback name. * @return The escaped callback name. */ protected String escapeCallbackName(final String callbackName) { return "/**/" + callbackName.replaceAll("[^0-9a-zA-Z_\\$\\.]", StringUtil.EMPTY); } /** * Escapes a JSON object. * @param obj The object to escape.Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 55.4K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/util/KuromojiCSVUtil.java
result = result.replace(ESCAPED_QUOTE, "\""); } } return result; } /** * Quote and escape input value for CSV * * @param original Original text. * @return Escaped text. */ public static String quoteEscape(final String original) { String result = original; if (result.indexOf('\"') >= 0) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 3.9K bytes - Viewed (0)