- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TemporaryFileInputStream (0.27 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java
import org.slf4j.LoggerFactory; /** * @author shinsuke * */ public class TemporaryFileInputStream extends InputStream { private static final Logger logger = LoggerFactory.getLogger(TemporaryFileInputStream.class); private final File tempFile; private final FileInputStream fileInputStream; public TemporaryFileInputStream(final File tempFile) throws FileNotFoundException { this.tempFile = tempFile;
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/SitemapsRuleTest.java
assertFalse(sitemapsRule.match(responseData)); InputStream is = responseData.getResponseBody(); if (is instanceof TemporaryFileInputStream) { File temporaryFile = ((TemporaryFileInputStream) is).getTemporaryFile(); assertTrue(temporaryFile.exists()); CloseableUtil.closeQuietly(is); assertFalse(temporaryFile.exists()); } else {
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.7K bytes - Viewed (0)