Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 36 for unescaping (0.06 seconds)

  1. android/guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

     * array contains information about special ASCII characters such as {@code \\t} and {@code \\n}
     * while {@link #escapeUnsafe} is overridden to handle general escaping of the form {@code \\uxxxx}.
     *
     * <p>The size of the data structure used by {@link ArrayBasedCharEscaper} is proportional to the
     * highest valued character that requires escaping. For example a replacement map containing the
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/net/UrlEscapers.java

       * form parameter names and values</a>. Escaping is performed with the UTF-8 character encoding.
       * The caller is responsible for <a
       * href="https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#multipart-form-data">replacing
       * any unpaired carriage return or line feed characters with a CR+LF pair</a> on any non-file
       * inputs before escaping them with this escaper.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 7.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/xml/XmlEscapers.java

     * elements' text contents. When possible, avoid manual escaping by using templating systems and
     * high-level APIs that provide autoescaping. For example, consider <a
     * href="http://www.xom.nu/">XOM</a>.
     *
     * <p><b>Note:</b> Currently the escapers provided by this class do not escape any characters
     * outside the ASCII character range. Unlike HTML escaping the XML escapers will not escape
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 17:06:34 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  4. guava/src/com/google/common/net/UrlEscapers.java

       * form parameter names and values</a>. Escaping is performed with the UTF-8 character encoding.
       * The caller is responsible for <a
       * href="https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#multipart-form-data">replacing
       * any unpaired carriage return or line feed characters with a CR+LF pair</a> on any non-file
       * inputs before escaping them with this escaper.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 7.1K bytes
    - Click Count (0)
  5. guava/src/com/google/common/html/HtmlEscapers.java

     * most elements' text contents. When possible, avoid manual escaping by using templating
     * systems and high-level APIs that provide autoescaping.
     * One Google-authored templating system available for external use is <a
     * href="https://developers.google.com/closure/templates/">Closure Templates</a>.
     *
     * <p>HTML escaping is particularly tricky: For example, <a
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 3K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java

          ImmutableMap.of(
              '\n', "<newline>",
              '\t', "<tab>",
              '&', "<and>");
    
      public void testSafeRange() throws IOException {
        // Basic escaping of unsafe chars (wrap them in {,}'s)
        CharEscaper wrappingEscaper =
            new ArrayBasedCharEscaper(NO_REPLACEMENTS, 'A', 'Z') {
              @Override
              protected char[] escapeUnsafe(char c) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Feb 18 15:41:04 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

        // Escapers operate on characters: no characters, no escaping.
        Assert.assertEquals("", escaper.escape(""));
        // Assert that escapers throw null pointer exceptions.
        try {
          escaper.escape((String) null);
          Assert.fail("exception not thrown when escaping a null string");
        } catch (NullPointerException e) {
          // pass
        }
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 3.8K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

        // Escapers operate on characters: no characters, no escaping.
        Assert.assertEquals("", escaper.escape(""));
        // Assert that escapers throw null pointer exceptions.
        try {
          escaper.escape((String) null);
          Assert.fail("exception not thrown when escaping a null string");
        } catch (NullPointerException e) {
          // pass
        }
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 3.8K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java

              '&', "<and>");
      private static final char[] NO_CHARS = new char[0];
    
      public void testReplacements() throws IOException {
        // In reality this is not a very sensible escaper to have (if you are only
        // escaping elements from a map you would use a ArrayBasedCharEscaper).
        UnicodeEscaper escaper =
            new ArrayBasedUnicodeEscaper(
                SIMPLE_REPLACEMENTS, Character.MIN_VALUE, Character.MAX_CODE_POINT, null) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Feb 18 15:41:04 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

            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
         * @return the escaped query string, or the original value if escaping is disabled
         */
        protected String escapeQuery(final String value) {
            if (!escape) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 12.3K bytes
    - Click Count (0)
Back to Top