Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for REPLACE (0.13 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

            return stripInvalidXMLCharacters(//
                    value//
                            .replace("&", "&") //
                            .replace("<", "&lt;")//
                            .replace(">", "&gt;")//
                            .replace("\"", "&quot;")//
                            .replace("\'", "&apos;")//
            );
        }
    
        /**
         * Strips invalid XML characters from the input string.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

        }
    
        public void test_doGet_dir() {
            final File file = ResourceUtil.getResourceAsFile("test");
            String path = file.getAbsolutePath();
            if (!path.startsWith("/")) {
                path = "/" + path.replace('\\', '/');
            }
            try {
                fsClient.doGet("file://" + path);
                fail();
            } catch (final ChildUrlsException e) {
                final Set<RequestData> urlSet = e.getChildUrlList();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java

         */
        protected String path;
    
        /**
         * A string to replace ?.
         */
        protected String questionStr = "_QUEST_";
    
        /**
         * A string to replace :.
         */
        protected String colonStr = "_CLN_";
    
        /**
         * A string to replace ;.
         */
        protected String semicolonStr = "_SCLN_";
    
        /**
         * A string to replace &amp;.
         */
        protected String ampersandStr = "_AMP_";
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java

            String input = content.replaceAll("[\\r\\n]", " ");
            if (ignoreCommentTag) {
                input = input.replaceAll("<!--[^>]+-->", "");
            } else {
                input = input.replace("<!--", "").replace("-->", "");
            }
            final Matcher matcher = getTagPattern().matcher(input);
            final StringBuffer sb = new StringBuffer();
            final Pattern attrPattern = Pattern.compile("\\s[^ ]+=\"([^\"]*)\"");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            final File targetFile = ResourceUtil.getResourceAsFile("test");
            String path = targetFile.getAbsolutePath();
            if (!path.startsWith("/")) {
                path = "/" + path.replace('\\', '/');
            }
            final String url = "file:" + path;
    
            final int maxCount = 3;
            final int numOfThread = 2;
    
            final File file = File.createTempFile("crawler-", "");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

                final String text = source.get(FieldNames.TEXT).toString();
                if (skipDuplicateWords) {
                    final String duplicateCheckStr = text.replace(" ", "");
                    if (words.stream().map(word -> word.replace(" ", "")).anyMatch(word -> word.equals(duplicateCheckStr))) {
                        // skip duplicate word.
                        continue;
                    }
                }
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java

         * @param credentials The credentials.
         * @param value The value to replace.
         * @return The value with credentials replaced.
         */
        protected String replaceCredentials(final Credentials credentials, final String value) {
            if (StringUtil.isNotBlank(value)) {
                return value.replace(USERNAME, credentials.getUserPrincipal().getName()).replace(PASSWORD, credentials.getPassword());
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.3K bytes
    - Viewed (1)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            final File targetFile = ResourceUtil.getResourceAsFile("test");
            String path = targetFile.getAbsolutePath();
            if (!path.startsWith("/")) {
                path = "/" + path.replace('\\', '/');
            }
            final String url = "file:" + path;
    
            final int maxCount = 3;
            final int numOfThread = 2;
    
            final File file = File.createTempFile("crawler-", "");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/Suggester.java

            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to replace with new index.", e);
                }
                throw new SuggesterException("Failed to replace with new index.", e);
            }
        }
    
        /**
         * Switches the search alias to the current update index.
         */
        public void switchIndex() {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 20.7K bytes
    - Viewed (3)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

            String newPath = path.replace(".", "\\.").replace("?", "\\?").replace("*", ".*");
            if (newPath.charAt(0) != '/') {
                newPath = ".*" + newPath;
            }
            if (!newPath.endsWith("$") && !newPath.endsWith(".*")) {
                newPath = newPath + ".*";
            }
            return newPath.replace(".*.*", ".*");
        }
    
        /*
         * (non-Javadoc)
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 52.2K bytes
    - Viewed (0)
Back to top