- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 237 for with (0.03 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java
} /** * Test name with control characters */ public void test_name_controlCharacters() { // Test with various control characters testTransformer.setName("name\0with\0null"); assertEquals("name\0with\0null", testTransformer.getName()); testTransformer.setName("name\rwith\rcarriage\rreturn"); assertEquals("name\rwith\rcarriage\rreturn", testTransformer.getName());Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 20.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java
// Test with suppression enabled and writable stack trace String message1 = "Test with suppression enabled"; CrawlerSystemException exception1 = constructor.newInstance(message1, true, true); assertNotNull(exception1); assertEquals(message1, exception1.getMessage()); assertNull(exception1.getCause()); // Test with suppression disabled and writable stack traceRegistered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 20K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java
} /** * Test basic initialization with session ID */ public void test_init_withSessionId() { String sessionId = "test-session-001"; urlFilter.init(sessionId); // Initialization should complete without errors assertNotNull(urlFilter); } /** * Test initialization with null session ID */ public void test_init_withNullSessionId() {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 19K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/CrawlerSystemException.java
* 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 { private static final long serialVersionUID = 1L; /** * Constructs a new {@code CrawlerSystemException} 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 - 3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java
* <ul> * <li>& with &amp;</li> * <li>< with &lt;</li> * <li>> with &gt;</li> * <li>" with &quot;</li> * <li>' with &apos;</li> * </ul> * Additionally, it strips invalid XML characters from the input string. * * @param value the input string to be escaped * @return the escaped XML string with invalid characters removed */
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 9.4K bytes - Viewed (0) -
README.md
# Run tests for specific module mvn test -pl fess-crawler ``` ## Examples ### Web Crawling with Custom Rules ```java // Create crawler with custom configuration StandardCrawlerContainer container = new StandardCrawlerContainer(); // Configure HTTP client with custom settings container.singleton("httpClient", HcHttpClient.class, client -> { client.setUserAgent("MyBot/1.0");
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Aug 31 05:32:52 UTC 2025 - 15.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java
} /** * Test Rule with null rule ID */ public void test_nullRuleId() { TestRule rule = new TestRule(null, new TestResponseProcessor("test"), true); assertNull(rule.getRuleId()); ResponseData responseData = new ResponseData(); assertTrue(rule.match(responseData)); } /** * Test Rule with null ResponseProcessor */Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 22.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java
// Expected } try { CrawlerStatus.valueOf(" RUNNING "); // with spaces fail("Should throw IllegalArgumentException for value with spaces"); } catch (IllegalArgumentException e) { // Expected } } /** * Test valueOf method with null */ public void test_valueOf_null() { try { CrawlerStatus.valueOf(null);Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 15.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractor.java
* and registration with the ExtractorFactory. * * <p> * This class handles the retrieval of essential crawler components like * {@link MimeTypeHelper} and {@link ExtractorFactory} from the * {@link CrawlerContainer}. It also provides a convenient method for * registering the extractor with the {@link ExtractorFactory}. * </p> * * <p>Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/TransformerTest.java
// ResponseData with only URL ResponseData urlOnlyData = new ResponseData(); urlOnlyData.setUrl("http://example.com"); ResultData result2 = testTransformer.transform(urlOnlyData); assertNotNull(result2); assertNotNull(result2.getData()); // ResponseData with response bodyRegistered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 28K bytes - Viewed (0)