Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for both (0.01 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/MimeTypeException.java

     * It is used to indicate exceptions related to MIME type handling during the crawling process.
     * This exception can be thrown with a message, a cause, or both.
     */
    public class MimeTypeException extends CrawlerSystemException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * Creates a new MimeTypeException with the specified detail message and cause.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/exception/SuggesterException.java

    /**
     * This class represents a custom exception for the suggester component.
     * It extends the {@link RuntimeException} class and provides constructors
     * to create an exception instance with a message, a cause, or both.
     *
     * <p>Usage examples:</p>
     * <pre>
     * throw new SuggesterException("An error occurred");
     * throw new SuggesterException(new IOException("IO error"));
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/converter/KatakanaToAlphabetConverter.java

     * Katakana string into a list of possible Alphabet readings. It uses a predefined mapping of Katakana
     * characters to their Alphabet equivalents, handling both single and double Katakana character combinations.
     * </p>
     *
     * <p>
     * The conversion process involves iterating through the input string, identifying Katakana characters,
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/CrawlerSystemException.java

    /**
     * The class CrawlerSystemException is a runtime exception that is thrown when a system error occurs during crawling.
     * It extends the RuntimeException class and provides constructors for creating exceptions with a message, a cause, or both.
     * It also provides a protected constructor that allows to specify whether or not suppression is enabled or stack trace is writable.
     */
    public class CrawlerSystemException extends RuntimeException {
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            assertNotNull(exception3);
            assertEquals(message3, exception3.getMessage());
    
            // Test with both disabled
            String message4 = "Test with both disabled";
            CrawlerSystemException exception4 = constructor.newInstance(message4, false, false);
            assertNotNull(exception4);
            assertEquals(message4, exception4.getMessage());
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/exception/SuggestIndexException.java

    /**
     * Exception thrown when there is an issue with the suggestion index.
     * This exception extends {@link SuggesterException}.
     *
     * <p>This exception can be thrown with a message, a cause, or both.</p>
     *
     * <pre>
     * Example usage:
     * throw new SuggestIndexException("Indexing error occurred");
     * throw new SuggestIndexException(new IOException("IO error"));
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/CrawlingAccessException.java

     *
     * <p>
     * This exception can be thrown when there are problems accessing URLs, files, or any other resources needed for crawling.
     * It includes constructors to handle messages, causes, or both.
     * </p>
     *
     * <p>
     * The log level can be set to DEBUG, INFO, WARN, or ERROR, and the class provides methods to check if a specific log level is enabled.
     * </p>
     *
     * <p>
     * Example usage:
     * </p>
     *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

            urlFilter.addInclude("https://first.com/.*");
    
            // Second initialization with same session ID
            urlFilter.init(sessionId);
            urlFilter.addInclude("https://second.com/.*");
    
            // Both patterns should work
            assertTrue(urlFilter.match("https://first.com/page"));
            assertTrue(urlFilter.match("https://second.com/page"));
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java

     * Example usage:
     * </p>
     *
     * <pre>
     * {@code
     * RegexRule rule = new RegexRule();
     * rule.addRule("url", "https://example.com/.*");
     * rule.addRule("contentType", "text/html");
     * rule.setAllRequired(true); // Both URL and content type must match
     *
     * ResponseData responseData = new ResponseData();
     * responseData.setUrl("https://example.com/page1");
     * responseData.setContentType("text/html");
     *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

            // Trailing whitespace
            testTransformer.setName("trailingSpaces  ");
            assertEquals("trailingSpaces  ", testTransformer.getName());
    
            // Both leading and trailing
            testTransformer.setName("  bothSpaces  ");
            assertEquals("  bothSpaces  ", testTransformer.getName());
    
            // Only whitespace
            testTransformer.setName("   ");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
Back to top