- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 35 for setEncoding (0.12 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResultData.java
return childUrlSet; } public void setChildUrlSet(final Set<RequestData> childUrlSet) { this.childUrlSet = childUrlSet; } public String getEncoding() { return encoding; } public void setEncoding(final String encoding) { this.encoding = encoding; } @Override public String toString() {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java
final AccessResultDataImpl accessResultDataImpl = new AccessResultDataImpl(); accessResultDataImpl.setData(value.getBytes()); accessResultDataImpl.setEncoding(Constants.UTF_8); accessResultDataImpl.setTransformerName("htmlTransformer"); final Object obj = htmlTransformer.getData(accessResultDataImpl); assertEquals(value, obj); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 13.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultDataImpl.java
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 3.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java
try (final InputStream in = responseData.getResponseBody()) { final InputSource is = new InputSource(in); if (responseData.getCharSet() != null) { is.setEncoding(responseData.getCharSet()); } parser.parse(is); } catch (final Exception e) { throw new CrawlingAccessException("Could not parse " + responseData.getUrl(), e); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:40:57 UTC 2024 - 8.8K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResultData.java
public OpenSearchAccessResultData() { } public OpenSearchAccessResultData(final Map<String, Object> src) { setTransformerName((String) src.get(TRANSFORMER_NAME)); setEncoding((String) src.get(ENCODING)); final String dataStr = (String) src.get(DATA); if (dataStr != null) { try { setData(Base64Util.decode(dataStr));
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 2.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformer.java
try (BufferedInputStream bis = new BufferedInputStream(responseData.getResponseBody())) { resultData.setData(IOUtils.toByteArray(bis)); resultData.setEncoding(responseData.getCharSet()); return resultData; } catch (final IOException e) { throw new CrawlerSystemException("Could not convert the input stream.", e); } } /*
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java
// create input source final InputSource is = new InputSource(new ByteArrayInputStream(accessResultData.getData())); if (StringUtil.isNotBlank(accessResultData.getEncoding())) { is.setEncoding(accessResultData.getEncoding()); } // create handler final DocHandler handler = new DocHandler(); // create a sax instance
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java
} matcher.appendTail(sb); return sb.toString().replaceAll("\\s+", " ").trim(); } public String getEncoding() { return encoding; } public void setEncoding(final String encoding) { this.encoding = encoding; } /** * @return Returns the preloadSizeForCharset. */
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueueImpl.java
} @Override public void setMetaData(final String metaData) { this.metaData = metaData; } @Override public String getEncoding() { return encoding; } @Override public void setEncoding(final String encoding) { this.encoding = encoding; } /* * (non-Javadoc) *
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Mon Nov 04 07:44:18 UTC 2024 - 5.2K bytes - Viewed (0)