- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 36 for getEncoding (0.17 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/XmlExtractorTest.java
CloseableUtil.closeQuietly(bis); assertEquals("UTF-8", encoding); } public void test_getEncoding_utf16lebom() { final InputStream in = ResourceUtil.getResourceAsStream("extractor/xml/test_utf16lebom.xml"); final BufferedInputStream bis = new BufferedInputStream(in); final String encoding = xmlExtractor.getEncoding(bis);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java
if (pageEnc != null) { enc = pageEnc; } else if (urlQueue.getEncoding() != null) { enc = urlQueue.getEncoding(); } } } } else { enc = fessConfig.getCrawlerDocumentFileNameEncoding(); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 9.5K 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/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/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractorTest.java
final String encoding = htmlExtractor.getEncoding(bis); CloseableUtil.closeQuietly(bis); assertEquals("UTF-8", encoding); } public void test_getEncoding_sjis() { final InputStream in = ResourceUtil.getResourceAsStream("extractor/test_sjis.html"); final BufferedInputStream bis = new BufferedInputStream(in); final String encoding = htmlExtractor.getEncoding(bis);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 3.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TextExtractor.java
} try { return new ExtractData(new String(InputStreamUtil.getBytes(in), getEncoding())); } catch (final Exception e) { throw new ExtractException(e); } } public String getEncoding() { return encoding; } public void setEncoding(final String encoding) { this.encoding = encoding; }
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/entity/AccessResultData.java
String getTransformerName(); void setTransformerName(String transformerName); byte[] getData(); String getDataAsString(); void setData(byte[] data); String getEncoding(); void setEncoding(String encoding);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractorTest.java
final InputStream in = ResourceUtil.getResourceAsStream("extractor/test_utf8.html"); final BufferedInputStream bis = new BufferedInputStream(in); final String encoding = htmlXpathExtractor.getEncoding(bis); CloseableUtil.closeQuietly(bis); assertEquals("UTF-8", encoding); } public void test_getEncoding_sjis() {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlResponse.java
return httpStatusCode; } public void setHttpStatusCode(final int httpStatusCode) { this.httpStatusCode = httpStatusCode; } public String getEncoding() { return encoding; } public void setEncoding(final String encoding) { this.encoding = encoding; } public void setContentException(final Exception e) { contentException = e; }
Registered: Thu Oct 31 02:32:13 UTC 2024 - Last Modified: Mon Nov 14 21:05:19 UTC 2022 - 4K 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)