Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for escapeUnsafe (0.06 sec)

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

     * general way.
     *
     * <p>A good example of usage of this class is for HTML escaping where the replacement array
     * contains information about the named HTML entities such as {@code &amp;} and {@code &quot;} while
     * {@link #escapeUnsafe} is overridden to handle general escaping of the form {@code &#NNNNN;}.
     *
     * <p>The size of the data structure used by {@link ArrayBasedUnicodeEscaper} is proportional to the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java

        // Basic escaping of unsafe chars (wrap them in {,}'s)
        CharEscaper wrappingEscaper =
            new ArrayBasedCharEscaper(NO_REPLACEMENTS, 'A', 'Z') {
              @Override
              protected char[] escapeUnsafe(char c) {
                return ("{" + c + "}").toCharArray();
              }
            };
        EscaperAsserts.assertBasic(wrappingEscaper);
        // '[' and '@' lie either side of [A-Z].
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 07 23:02:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

     *
     * <p>A good example of usage of this class is for Java source code escaping where the replacement
     * 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.3K bytes
    - Viewed (0)
Back to top