Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for tofalse (0.04 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TextUtilTest.java

            assertEquals("", normalizeText(" ", 100, -1, 2, false));
            assertEquals("", normalizeText("  ", 100, -1, 2, false));
            assertEquals("", normalizeText("\t", 100, -1, 2, false));
            assertEquals("", normalizeText("\t\t", 100, -1, 2, false));
            assertEquals("", normalizeText("\t \t", 100, -1, 2, false));
            assertEquals("123 abc", normalizeText(" 123 abc ", 100, -1, 2, false));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/settings/BadWordSettingsTest.java

            assertEquals(3, settings.badword().get(false).length);
            assertEquals(value1, settings.badword().get(false)[0]);
            assertEquals(value2, settings.badword().get(false)[1]);
            assertEquals(value3, settings.badword().get(false)[2]);
    
            settings.badword().delete(value2);
            assertEquals(2, settings.badword().get(false).length);
            assertEquals(value1, settings.badword().get(false)[0]);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java

        private static final long serialVersionUID = 1L;
    
        /** Whether this rule should match all responses by default. */
        protected boolean defaultRule = false;
    
        /** Whether all regular expressions must match (true) or just one (false). */
        protected boolean allRequired = true;
    
        /** Map of field names to regular expression patterns. */
        protected Map<String, Pattern> regexMap = new HashMap<>();
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

         * @param tcCount The thread check count.
         * @return true if the crawling should continue, false otherwise.
         */
        protected boolean isContinue(final int tcCount) {
            if (!crawlerContainer.available()) {
                // system shutdown
                return false;
            }
    
            boolean isContinue = false;
            if (tcCount < crawlerContext.maxThreadCheckCount) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

        }
    
        /**
         * Test getRule with matching rule
         */
        public void test_getRule_matching() {
            TestRule rule1 = new TestRule("rule1", false);
            TestRule rule2 = new TestRule("rule2", true);
            TestRule rule3 = new TestRule("rule3", false);
    
            ruleManager.addRule(rule1);
            ruleManager.addRule(rule2);
            ruleManager.addRule(rule3);
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/ChildUrlsException.java

         */
        public ChildUrlsException(final Set<RequestData> childUrlList, final String description) {
            super("Threw child urls(" + childUrlList.size() + "). " + description, false, false);
            this.childUrlList = childUrlList;
        }
    
        /**
         * Returns the list of child URLs.
         * @return The list of child URLs.
         */
        public Set<RequestData> getChildUrlList() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/ResponseDataUtil.java

            try (final InputStream is = responseData.getResponseBody()) {
                tempFile = File.createTempFile("crawler-", ".tmp");
                tempFile.setReadable(false, false);
                tempFile.setReadable(true, true);
                tempFile.setWritable(false, false);
                tempFile.setWritable(true, true);
                fos = new FileOutputStream(tempFile);
                CopyUtil.copy(is, fos);
            } catch (final Exception e) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java

        /**
         * Checks if this authentication matches the given FTP path.
         * @param path The FTP path to check.
         * @return true if it matches, false otherwise.
         */
        boolean matches(final String path) {
            if (StringUtil.isBlank(path)) {
                return false;
            }
    
            try {
                final int pos = path.indexOf('/', 6);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

         */
        protected boolean isValid(final InputStream in, final boolean recursive) {
            final BufferedInputStream bis = new BufferedInputStream(in);
            bis.mark(preloadSize);
    
            final byte[] bytes = new byte[preloadSize];
            try {
                if (bis.read(bytes) == -1) {
                    return false;
                }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/AbstractIntervalController.java

         * @return true if exceptions should be ignored, false otherwise.
         */
        public boolean isIgnoreException() {
            return ignoreException;
        }
    
        /**
         * Sets whether to ignore exceptions.
         * @param ignoreException true to ignore exceptions, false otherwise.
         */
        public void setIgnoreException(final boolean ignoreException) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top