- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for escaper (0.29 sec)
-
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: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 12.3K 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: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 21.5K 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: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 54.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java
return OptionalThing.of(key.toString()); } return OptionalThing.empty(); } /** * Escapes special characters in a value string for safe logging. * * @param action the string value to escape * @return the escaped string with tabs replaced by spaces */ protected String escapeValue(final String action) { return action.replace('\t', ' '); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 17.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
} public void test_unescape() throws Exception { // Test with escaped characters (backslash sequences) String content = "test\\t1\n" + // escaped tab sequence "test\\n2\n" + // escaped newline sequence "test3\n"; // no escape // Write content to test file writeTestFile(content); // Reload the file
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.8K bytes - Viewed (0) -
README.md
}); ``` ### Text Processing and JSON ```java import org.codelibs.core.text.*; // JSON utilities with proper escaping String escaped = JsonUtil.escape("Hello \"World\" with special chars"); String unescaped = JsonUtil.unescape(escaped); // Text tokenization Tokenizer tokenizer = new Tokenizer("field1,field2,field3", ","); while (tokenizer.hasMoreTokens()) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
return StringUtil.EMPTY; } /** * Escapes HTML and applies highlighting to text. * Handles boundary position detection if enabled. * * @param text the text to process * @return the escaped and highlighted text */ protected String escapeHighlight(final String text) { final String escaped = LaFunctions.h(text); final String value;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 52.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java
monitorTarget.append(buf, "dateKey", supplier); String result = buf.toString(); assertTrue(result.startsWith("\"dateKey\":\"")); // Check that the date was converted to string and properly escaped assertTrue(result.contains("2021") || result.contains("Jan") || result.contains("1609459200000")); } // Test appendTimestamp method public void test_appendTimestamp() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
* * This method handles the complete search workflow including parameter processing, * query execution, result formatting, and logging. It supports automatic retry * with escaped queries if the initial search fails. * * @param searchRequestParams The search request parameters * @param data The search render data to populate with results
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 35.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/escape/ReflectionFreeAssertThrows.java
* or implied. See the License for the specific language governing permissions and limitations under * the License. */ package com.google.common.escape; import static com.google.common.base.Preconditions.checkNotNull; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.2K bytes - Viewed (0)