Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 569 for escapers (0.21 sec)

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

       *
       * @param escaper the instance to be wrapped
       * @return a UnicodeEscaper with the same behavior as the given instance
       * @throws NullPointerException if escaper is null
       * @throws IllegalArgumentException if escaper is not a UnicodeEscaper or a CharEscaper
       */
      static UnicodeEscaper asUnicodeEscaper(Escaper escaper) {
        checkNotNull(escaper);
        if (escaper instanceof UnicodeEscaper) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/escape/Escapers.java

       *
       * @param escaper the instance to be wrapped
       * @return a UnicodeEscaper with the same behavior as the given instance
       * @throws NullPointerException if escaper is null
       * @throws IllegalArgumentException if escaper is not a UnicodeEscaper or a CharEscaper
       */
      static UnicodeEscaper asUnicodeEscaper(Escaper escaper) {
        checkNotNull(escaper);
        if (escaper instanceof UnicodeEscaper) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/xml/XmlEscapers.java

      }
    
      private static final Escaper XML_ESCAPER;
      private static final Escaper XML_CONTENT_ESCAPER;
      private static final Escaper XML_ATTRIBUTE_ESCAPER;
    
      static {
        Escapers.Builder builder = Escapers.builder();
        // The char values \uFFFE and \uFFFF are explicitly not allowed in XML
        // (Unicode code points above \uFFFF are represented via surrogate pairs
        // which means they are treated as pairs of safe characters).
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/escape/Escaper.java

     * your own escapers, use {@link CharEscaperBuilder}, or extend {@code CharEscaper} or {@code
     * UnicodeEscaper}.
     *
     * @author David Beaumont
     * @since 15.0
     */
    @DoNotMock("Use Escapers.nullEscaper() or another methods from the *Escapers classes")
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class Escaper {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 01 16:02:17 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/net/UrlEscapers.java

       * characters, even though <a href="https://goo.gl/e7E0In">many of these are accepted in modern
       * URLs</a>. (<a href="https://goo.gl/jfVxXW">If the escaper were to leave these characters
       * unescaped, they would be escaped by the consumer at parse time, anyway.</a>) Additionally, the
       * escaper escapes the slash character ("/"). While slashes are acceptable in URL paths, they are
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 28 15:04:33 UTC 2021
    - 6.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/escape/Escaper.java

     * your own escapers, use {@link CharEscaperBuilder}, or extend {@code CharEscaper} or {@code
     * UnicodeEscaper}.
     *
     * @author David Beaumont
     * @since 15.0
     */
    @DoNotMock("Use Escapers.nullEscaper() or another methods from the *Escapers classes")
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class Escaper {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 01 16:02:17 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/net/UrlEscapers.java

       * characters, even though <a href="https://goo.gl/e7E0In">many of these are accepted in modern
       * URLs</a>. (<a href="https://goo.gl/jfVxXW">If the escaper were to leave these characters
       * unescaped, they would be escaped by the consumer at parse time, anyway.</a>) Additionally, the
       * escaper escapes the slash character ("/"). While slashes are acceptable in URL paths, they are
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 28 15:04:33 UTC 2021
    - 6.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/xml/XmlEscapers.java

      }
    
      private static final Escaper XML_ESCAPER;
      private static final Escaper XML_CONTENT_ESCAPER;
      private static final Escaper XML_ATTRIBUTE_ESCAPER;
    
      static {
        Escapers.Builder builder = Escapers.builder();
        // The char values \uFFFE and \uFFFF are explicitly not allowed in XML
        // (Unicode code points above \uFFFF are represented via surrogate pairs
        // which means they are treated as pairs of safe characters).
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/net/UrlEscapersTest.java

        assertUnicodeEscaping(e, "%F4%8F%BF%BF", '\uDBFF', '\uDFFF');
    
        assertEquals("", e.escape(""));
        assertEquals("safestring", e.escape("safestring"));
        assertEquals("embedded%00null", e.escape("embedded\0null"));
        assertEquals("max%EF%BF%BFchar", e.escape("max\uffffchar"));
      }
    
      // Helper to assert common expected behaviour of uri escapers.
      static void assertBasicUrlEscaper(UnicodeEscaper e) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 15 20:25:06 UTC 2018
    - 4.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/net/UrlEscapersTest.java

        assertUnicodeEscaping(e, "%F4%8F%BF%BF", '\uDBFF', '\uDFFF');
    
        assertEquals("", e.escape(""));
        assertEquals("safestring", e.escape("safestring"));
        assertEquals("embedded%00null", e.escape("embedded\0null"));
        assertEquals("max%EF%BF%BFchar", e.escape("max\uffffchar"));
      }
    
      // Helper to assert common expected behaviour of uri escapers.
      static void assertBasicUrlEscaper(UnicodeEscaper e) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.9K bytes
    - Viewed (0)
Back to top