Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Escape (0.03 sec)

  1. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

        }
    
        /**
         * Sets whether to escape special characters in queries.
         * This method follows the builder pattern for method chaining.
         *
         * @param escape true to enable escaping, false to disable
         * @return this QueryStringBuilder instance for method chaining
         */
        public QueryStringBuilder escape(final boolean escape) {
            this.escape = escape;
            return this;
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

                return escape(s) + ".*";
            }
            final StringBuilder buf = new StringBuilder(100);
            return appendFileterPath(buf, escape(s));
        }
    
        /**
         * Escapes special regex characters in a string to create a literal pattern.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/escape/ReflectionFreeAssertThrows.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.escape;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

                return OptionalThing.of(key.toString());
            }
            return OptionalThing.empty();
        }
    
        /**
         * Escapes special characters in a value string for safe logging.
         *
         * @param action the string value to escape
         * @return the escaped string with tabs replaced by spaces
         */
        protected String escapeValue(final String action) {
            return action.replace('\t', ' ');
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  5. README.md

    });
    ```
    
    ### Text Processing and JSON
    ```java
    import org.codelibs.core.text.*;
    
    // JSON utilities with proper escaping
    String escaped = JsonUtil.escape("Hello \"World\" with special chars");
    String unescaped = JsonUtil.unescape(escaped);
    
    // Text tokenization
    Tokenizer tokenizer = new Tokenizer("field1,field2,field3", ",");
    while (tokenizer.hasMoreTokens()) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

        }
    
        public void test_unescape() throws Exception {
            // Test with escaped characters (backslash sequences)
            String content = "test\\t1\n" + // escaped tab sequence
                    "test\\n2\n" + // escaped newline sequence
                    "test3\n"; // no escape
    
            // Write content to test file
            writeTestFile(content);
    
            // Reload the file
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

        }
      }
    
      // Instance stuff here
    
      // The array is never mutated after storing in this field and the construction strategies ensure
      // it doesn't escape this class
      @SuppressWarnings("Immutable")
      private final long[] array;
    
      /*
       * TODO(kevinb): evaluate the trade-offs of going bimorphic to save these two fields from most
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/ImmutableIntArray.java

        }
      }
    
      // Instance stuff here
    
      // The array is never mutated after storing in this field and the construction strategies ensure
      // it doesn't escape this class
      @SuppressWarnings("Immutable")
      private final int[] array;
    
      /*
       * TODO(kevinb): evaluate the trade-offs of going bimorphic to save these two fields from most
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

        }
    
        /**
         * Escapes a callback name.
         * @param callbackName The callback name.
         * @return The escaped callback name.
         */
        protected String escapeCallbackName(final String callbackName) {
            return "/**/" + callbackName.replaceAll("[^0-9a-zA-Z_\\$\\.]", StringUtil.EMPTY);
        }
    
        /**
         * Escapes a JSON object.
         * @param obj The object to escape.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                if (logger.isDebugEnabled()) {
                    logger.debug("Invalid query: {}", query, e);
                }
                query = ComponentUtil.getQueryStringBuilder().params(params).sortField(params.getSort()).escape(true).build();
                documentItems = searchInternal(query, params, userBean);
            }
    
            data.setDocumentItems(documentItems);
    
            // search
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 35.8K bytes
    - Viewed (0)
Back to top