- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 35 for usage (0.01 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java
assertTrue(rangeSet.contains(CrawlerStatus.RUNNING)); assertFalse(rangeSet.contains(CrawlerStatus.DONE)); } /** * Test switch statement usage */ public void test_switchStatement() { for (CrawlerStatus status : CrawlerStatus.values()) { String description = getStatusDescription(status); assertNotNull(description);
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/util/XmlUtil.java
* <li>{@link #getDataMap(AccessResultData)}: Parses XML content from {@link AccessResultData} and returns a map of the data.</li> * </ul> * * <h2>Usage Example:</h2> * <pre> * {@code * String escapedXml = XmlUtil.escapeXml("<tag>value</tag>"); * Map<String, Object> dataMap = XmlUtil.getDataMap(accessResultData); * } * </pre> * * <h2>Thread Safety:</h2>
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
* parameter. * </p> * * <p> * The reader uses a queue to buffer documents read from Elasticsearch, and it retries failed requests * up to a maximum number of times. * </p> * * <p> * <b>Usage:</b> * </p> * <pre> * {@code * Client client = // Obtain Elasticsearch client * SuggestSettings settings = // Obtain SuggestSettings * String indexName = "your_index_name"; *
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 11K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java
* </ul> * * <p> * The MIME type detection is based on the {@code tika-mimetypes.xml} resource, which is loaded during initialization. * </p> * * <p> * Usage: * </p> * <pre> * MimeTypeHelperImpl mimeTypeHelper = new MimeTypeHelperImpl(); * String contentType = mimeTypeHelper.getContentType(inputStream, filename); * </pre> */Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 6.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/RequestHeader.java
* This class is used to encapsulate the header information for HTTP requests. * It provides methods to get and set the name and value of the header, * as well as a method to validate the header. * * <p>Example usage:</p> * <pre> * RequestHeader header = new RequestHeader("Content-Type", "application/json"); * String name = header.getName(); * String value = header.getValue(); * boolean isValid = header.isValid();
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/client/http/impl/AuthenticationImpl.java
* * <p> * It includes constructors to initialize these details and getter and setter * methods to access and modify them. * </p> * * <p> * Example usage: * </p> * <pre> * {@code * AuthScope authScope = new AuthScope("example.com", 80); * Credentials credentials = new UsernamePasswordCredentials("user", "password");
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/UrlConvertHelper.java
* <p>The conversion is performed by iterating through the conversion map and applying * each replacement rule sequentially. The order of the rules in the map is preserved * during the conversion process.</p> * * <p>Example usage:</p> * * <pre>{@code * UrlConvertHelper helper = new UrlConvertHelper(); * helper.add("old-domain.com", "new-domain.com"); * String convertedUrl = helper.convert("http://old-domain.com/path");
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java
* </p> * <p> * The {@link #getData(AccessResultData)} method allows retrieving the transformed data as a String (XML content), * a Map, or an instance of a specified class. * </p> * * <p> * Example usage: * </p> * * <pre> * XpathTransformer transformer = new XpathTransformer(); * transformer.addFieldRule("title", "//title/text()"); * transformer.addFieldRule("body", "//body/p/text()"); *Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 13.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/builder/RequestDataBuilder.java
/** * Builder class for creating RequestData objects using a fluent interface. * This class provides a simple way to construct RequestData objects with method chaining. * * <p>Usage example:</p> * <pre> * RequestData request = RequestDataBuilder.newRequestData() * .method("GET") * .url("https://example.com") * .weight(1.0f) * .build(); * </pre> *
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java
* maximum length of analyzed content.</p> * * <p>Methods in this class may throw SuggesterException in case of failures during the parsing process.</p> * * <p>Usage example:</p> * <pre> * {@code * DefaultContentsParser parser = new DefaultContentsParser();
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 15.4K bytes - Viewed (0)