- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for Escapers (0.03 sec)
-
android/guava/src/com/google/common/xml/XmlEscapers.java
*/ public static Escaper xmlContentEscaper() { return XML_CONTENT_ESCAPER; } /** * Returns an {@link Escaper} instance that escapes special characters in a string so it can * safely be included in XML document as an attribute value. See section <a * href="http://www.w3.org/TR/2008/REC-xml-20081126/#AVNormalize">3.3.3</a> of the XML * specification. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jun 20 17:15:33 UTC 2025 - 6.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/escape/EscapersTest.java
Escaper escaper = Escapers.builder().setSafeRange('a', 'z').build(); assertThat(escaper.escape("The Quick Brown Fox")).isEqualTo("The Quick Brown Fox"); } public void testBuilderInitialStateNoneUnsafe() { // No characters are unsafe by default (safeMin == 0, safeMax == 0xFFFF). Escaper escaper = Escapers.builder().setUnsafeReplacement("X").build();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java
"\0abyz\u0080\u0100\u0800\u1000ABYZ\uffff" + SMALLEST_SURROGATE + "0189" + LARGEST_SURROGATE; // Escapes nothing private static final UnicodeEscaper NOP_ESCAPER = new UnicodeEscaper() { @Override protected char @Nullable [] escape(int c) { return null; } }; // Escapes everything except [a-zA-Z0-9] private static final UnicodeEscaper SIMPLE_ESCAPER =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6K bytes - Viewed (0) -
guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java
"\0abyz\u0080\u0100\u0800\u1000ABYZ\uffff" + SMALLEST_SURROGATE + "0189" + LARGEST_SURROGATE; // Escapes nothing private static final UnicodeEscaper NOP_ESCAPER = new UnicodeEscaper() { @Override protected char @Nullable [] escape(int c) { return null; } }; // Escapes everything except [a-zA-Z0-9] private static final UnicodeEscaper SIMPLE_ESCAPER =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/PercentEscaperTest.java
/** * Tests for {@link PercentEscaper}. * * @author David Beaumont */ @GwtCompatible @NullUnmarked public class PercentEscaperTest extends TestCase { /** Tests that the simple escaper treats 0-9, a-z and A-Z as safe */ public void testSimpleEscaper() { UnicodeEscaper e = new PercentEscaper("", false); for (char c = 0; c < 128; c++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 5.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/PercentEscaperTest.java
/** * Tests for {@link PercentEscaper}. * * @author David Beaumont */ @GwtCompatible @NullUnmarked public class PercentEscaperTest extends TestCase { /** Tests that the simple escaper treats 0-9, a-z and A-Z as safe */ public void testSimpleEscaper() { UnicodeEscaper e = new PercentEscaper("", false); for (char c = 0; c < 128; c++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/QueryStringBuilder.java
if (value.split("\\s").length > 1) { return new StringBuilder().append('"').append(value.replace('"', ' ')).append('"').toString(); } return value; } /** * Escapes special characters in a query string if escaping is enabled. * Replaces reserved characters with their escaped equivalents based on the Constants.RESERVED array. * * @param value the query string to escape
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/core/text/JsonUtil.java
/** * JSON utilities. * * @author shinsuke * */ public class JsonUtil { /** * Defualt constructor. */ protected JsonUtil() { } /** * Escapes a value as Json string. * * @param value input * @return escaped string. */ public static String escape(final String value) { if (value == null) { return null; }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 24 01:52:43 UTC 2025 - 1.7K 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
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 17.4K bytes - Viewed (0)