- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for Body (0.01 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/TestEntity.java
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 1.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformerTest.java
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 13.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java
/** * Checks if this response has a response body. * * @return true if the response has a body (either as bytes or file), false otherwise */ public boolean hasResponseBody() { return responseBodyBytes != null || responseBodyFile != null; } /** * Gets the response body as an InputStream. * If the response body is stored as bytes, returns a ByteArrayInputStream.Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 11.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformerTest.java
xpathTransformer.setChildUrlRuleMap(childUrlRuleMap); Map<String, String> fieldRuleMap = newLinkedHashMap(); fieldRuleMap.put("title", "//TITLE"); fieldRuleMap.put("body", "//BODY"); fieldRuleMap.put("pcount", "count(//P)"); fieldRuleMap.put("true", "true()"); fieldRuleMap.put("false", "false()"); xpathTransformer.setFieldRuleMap(fieldRuleMap);
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 12.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/ResponseDataUtil.java
} /** * Creates a temporary file containing the response body from the given ResponseData. * * @param responseData the response data containing the response body * @return a temporary file containing the response body * @throws CrawlingAccessException if an error occurs while reading the response body */ public static File createResponseBodyFile(final ResponseData responseData) {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 2.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformer.java
* * <p> * This transformer extracts the binary content from the response body of a web resource, * stores it as a byte array in the ResultData, and provides a method to retrieve this data * as a ByteArrayInputStream. * </p> * * <p> * The transform method takes a ResponseData object, checks if it has a response body, * and then reads the body into a byte array. This byte array is then set as the data * in the ResultData object.
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-lasta/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
private static String getHtmlContent(final int count) { final StringBuilder buf = new StringBuilder(); buf.append("<html><head><title>Title "); buf.append(count); buf.append("</title></head><body><h1>Content "); buf.append(count); buf.append("</h1><br>"); buf.append("<a href=\"index.html\">Index</a><br>"); for (int i = 1; i <= 10; i++) { buf.append("<a href=\"file");
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 6.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java
* transformer.addFieldRule("title", "//title/text()"); * transformer.addFieldRule("body", "//body/p/text()"); * * ResponseData responseData = new ResponseData(); * responseData.setBody(new ByteArrayInputStream("<html><head><title>Example</title></head><body><p>Hello World</p></body></html>".getBytes())); * responseData.setUrl("http://example.com"); *
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/transformer/impl/TextTransformer.java
import jakarta.annotation.Resource; /** * TextTransformer is a class that transforms a ResponseData object into a ResultData object containing the extracted text content. * It uses an Extractor to extract the text from the response body based on the MIME type. * The extracted text is then converted into a byte array using the specified charset encoding. * It also provides a method to retrieve the extracted data as a String from an AccessResultData object. *
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/extractor/impl/EmlExtractor.java
public void setMailProperties(final Properties mailProperties) { this.mailProperties = mailProperties; } /** * Extracts the body text from a MIME message. * * @param message the MIME message to extract text from * @return the extracted body text * @throws ExtractException if extraction fails */ protected String getBodyText(final MimeMessage message) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 12.6K bytes - Viewed (0)