- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for isInMemory (0.14 sec)
-
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; }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:40:57 UTC 2024 - 6.3K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
} dfos.flush(); final ContentCache contentCache; logger.fine(() -> "Response in " + (dfos.isInMemory() ? "Memory" : "File")); if (dfos.isInMemory()) { contentCache = new ContentCache(dfos.getData()); } else { contentCache = new ContentCache(dfos.getFile()); }
Registered: Thu Oct 31 02:32:13 UTC 2024 - Last Modified: Sun Feb 12 12:21:25 UTC 2023 - 12.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java
return parseContext; } protected InputStream getContentStream(final DeferredFileOutputStream dfos) throws IOException { if (dfos.isInMemory()) { return new ByteArrayInputStream(dfos.getData()); } return new BufferedInputStream(new FileInputStream(dfos.getFile())); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 25K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java
".out", SystemUtils.getJavaIoTmpDir())) { CopyUtil.copy(responseBodyStream, dfos); dfos.flush(); if (dfos.isInMemory()) { responseData.setResponseBody(dfos.getData()); contentLength = dfos.getData().length; if (contentType == null) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu May 09 09:29:26 UTC 2024 - 41K bytes - Viewed (0)