- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for nullEscaper (0.06 sec)
-
guava-tests/test/com/google/common/escape/EscapersTest.java
/** * @author David Beaumont */ @GwtCompatible @NullUnmarked public class EscapersTest extends TestCase { public void testNullEscaper() throws IOException { Escaper escaper = Escapers.nullEscaper(); EscaperAsserts.assertBasic(escaper); String s = "\0\n\t\\az09~\uD800\uDC00\uFFFF"; assertWithMessage("null escaper should have no effect").that(escaper.escape(s)).isEqualTo(s); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.1K bytes - Viewed (0) -
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 @SuppressWarnings("EscapedEntity") // We do mean for the user to see "<" etc. public abstract class Escaper {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 4.7K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/Escapers.java
*/ public static Escaper nullEscaper() { return NULL_ESCAPER; } // An Escaper that efficiently performs no escaping. // Extending CharEscaper (instead of Escaper) makes Escapers.compose() easier. private static final Escaper NULL_ESCAPER = new CharEscaper() { @Override public String escape(String string) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.9K bytes - Viewed (0)