- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 233 for getPath (0.09 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformerTest.java
responseData.setResponseBody(data); final ResultData resultData = binaryTransformer.transform(responseData); assertEquals("xyz", new String(resultData.getData())); } public void test_transform_null() { try { binaryTransformer.transform(null); fail(); } catch (final CrawlerSystemException e) { // NOP
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 3.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/TextTransformer.java
return resultData; } /* * (non-Javadoc) * * @see * org.codelibs.fess.crawler.transformer.Transformer#getData(org.codelibs.fess.crawler.entity * .AccessResultData) */ @Override public Object getData(final AccessResultData<?> accessResultData) { // check transformer name if (!getName().equals(accessResultData.getTransformerName())) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 5.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformerTest.java
responseData.setCharSet(Constants.UTF_8); final ResultData resultData = xmlTransformer.transform(responseData); assertEquals(result, new String(resultData.getData(), Constants.UTF_8)); } public void test_transformNs() throws Exception { final String result = "<?xml version=\"1.0\"?>\n"// + "<doc>\n"//
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 13.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
final File file = File.createTempFile("crawler-", ""); file.delete(); file.mkdirs(); file.deleteOnExit(); fileTransformer.setPath(file.getAbsolutePath()); crawler.addUrl(url); crawler.crawlerContext.setMaxAccessCount(maxCount); crawler.crawlerContext.setNumOfThread(numOfThread);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 18K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/FileTransformerTest.java
final ResultData resultData = fileTransformer.transform(responseData); assertEquals("http_CLN_/www.example.com/submit_QUEST_a=1_AMP_b=2", new String(resultData.getData(), "UTF-8")); final File file = new File(fileTransformer.baseDir, new String(resultData.getData(), "UTF-8")); assertEquals("xyz", new String(FileUtil.readBytes(file))); } public void test_createFile() throws Exception {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 7.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java
responseData.setResponseBody(data); responseData.setCharSet("ISO-8859-1"); final ResultData resultData = htmlTransformer.transform(responseData); assertEquals("xyz", new String(resultData.getData())); } public void test_transform_filelink() { String content = "<a href=\"test2.html\">test</a>"; final byte[] data = new String(content).getBytes();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 13.8K bytes - Viewed (0) -
docs/en/docs/js/custom.js
const data = await response.json() return data } async function getData() { let page = 1 let data = [] let dataBatch = await getDataBatch(page) data = data.concat(dataBatch.items) const totalCount = dataBatch.total_count while (data.length < totalCount) {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 6.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersJvmTest.kt
val headers = Headers.Builder() .add("testDate", expected) .build() assertThat(headers["testDate"]).isEqualTo("Thu, 01 Jan 1970 00:00:00 GMT") assertThat(headers.getDate("testDate")).isEqualTo(Date(0L)) } @Test fun addInstant() { val expected = Instant.ofEpochMilli(0L) val headers = Headers.Builder() .add("Test-Instant", expected) .build()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java
if (out.isInMemory()) { return new ByteArrayInputStream(out.getData()); } return new FileInputStream(out.getFile()); } protected long getContentLength(final DeferredFileOutputStream out) throws IOException { if (out.isInMemory()) { return out.getData().length; } return out.getFile().length(); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:40:57 UTC 2024 - 6.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/MapMakerInternalMap.java
int hash = original.getHash(); return segmentFor(hash).copyEntry(original, newNext); } int hash(Object key) { int h = keyEquivalence.hash(key); return rehash(h); } void reclaimValue(WeakValueReference<K, V, E> valueReference) { E entry = valueReference.getEntry(); int hash = entry.getHash();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 90.8K bytes - Viewed (0)