Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. guava-tests/test/com/google/common/escape/EscapersTest.java

        builder.setUnsafeReplacement("X");
        builder.addEscape(' ', "_");
        Escaper first = builder.build();
        // Modify one of the existing mappings before creating a new escaper.
        builder.addEscape(' ', "-");
        builder.addEscape('!', "$");
        Escaper second = builder.build();
        // This should have no effect on existing escapers.
        builder.addEscape(' ', "*");
    
        // Test both escapers after modifying the builder.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/html/HtmlEscapers.java

      private static final Escaper HTML_ESCAPER =
          Escapers.builder()
              .addEscape('"', """)
              // Note: "'" is not defined in HTML 4.01.
              .addEscape('\'', "'")
              .addEscape('&', "&")
              .addEscape('<', "&lt;")
              .addEscape('>', "&gt;")
              .build();
    
      private HtmlEscapers() {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/CumulativeScopeArtifactFilter.java

                }
            }
        }
    
        private void addScopes(Collection<String> scopes) {
            if (scopes != null) {
                for (String scope : scopes) {
                    addScope(scope);
                }
            }
        }
    
        private void addScope(String scope) {
            this.scopes.add(scope);
    
            addScopeInternal(scope);
        }
    
        public Set<String> getScopes() {
            return scopes;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top