- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 276 for finally (0.05 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java
} public void testParse() { RobotsTxt robotsTxt; final InputStream in = RobotsTxtHelperTest.class.getResourceAsStream("robots.txt"); try { robotsTxt = robotsTxtHelper.parse(in); } finally { CloseableUtil.closeQuietly(in); }Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 5.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/ResponseDataUtil.java
CopyUtil.copy(is, fos); } catch (final Exception e) { CloseableUtil.closeQuietly(fos); // for deleting file FileUtil.deleteInBackground(tempFile); // clean up throw new CrawlingAccessException("Could not read a response body: " + responseData.getUrl(), e); } finally { CloseableUtil.closeQuietly(fos); } return tempFile;
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 2.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java
*/ @Override public ExtractData getText(final InputStream in, final Map<String, String> params) { final String resourceName = params == null ? null : params.get(ExtractData.RESOURCE_NAME_KEY); String extention; String filePrefix; if (StringUtil.isNotBlank(resourceName)) { final String name = getFileName(resourceName); final String[] strings = name.split("\\.");Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 16K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java
*/ public void test_concurrentNameAccess() throws Exception { final int threadCount = 100; final int operationsPerThread = 100; final CountDownLatch startLatch = new CountDownLatch(1); final CountDownLatch endLatch = new CountDownLatch(threadCount); final AtomicInteger errorCount = new AtomicInteger(0); testTransformer.setName("concurrentName");Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 20.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java
*/ protected void storeChildUrls(final Set<RequestData> childUrlList, final String url, final int depth) { if (crawlerContext.getMaxDepth() >= 0 && depth > crawlerContext.getMaxDepth()) { return; } // add url and filter final Set<String> urlSet = new HashSet<>(); final List<UrlQueue<?>> childList = childUrlList.stream()Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 20.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java
*/ protected String getOutputContent(final File outputFile, final String outExt) { final Extractor extractor = getExtractor(outExt); if (extractor != null) { final Map<String, String> params = new HashMap<>(); params.put(ExtractData.RESOURCE_NAME_KEY, outputFile.getName()); try (final FileInputStream in = new FileInputStream(outputFile)) {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 10.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java
public void test_sitemaps_threadLocal() throws Exception { final String[] thread1Sitemaps = new String[] { "http://thread1.com/sitemap.xml" }; final String[] thread2Sitemaps = new String[] { "http://thread2.com/sitemap.xml" }; final CountDownLatch startLatch = new CountDownLatch(1); final CountDownLatch endLatch = new CountDownLatch(2); final AtomicInteger successCount = new AtomicInteger(0);
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 25.6K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
/** * @author shinsuke * */ public class CrawlerWebServer { private final File docRoot; private final Server server; private boolean tempDocRoot = false; public CrawlerWebServer(final int port) { this(port, createDocRoot(3)); tempDocRoot = true; } public CrawlerWebServer(final int port, final File docRoot) { this.docRoot = docRoot;Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java
count++; } final String message = "Failed to access to " + request.getUrl() + exceptionList.stream().map(e -> "; " + e.getMessage()).collect(Collectors.joining()); throw new MultipleCrawlingAccessException(message, exceptionList.toArray(new Throwable[exceptionList.size()])); } finally { if (listener != null) {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 7.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java
*/ protected ResponseData getResponseData(final String uri, final boolean includeContent) { final ResponseData responseData = new ResponseData(); responseData.setMethod(Constants.GET_METHOD); final String filePath = preprocessUri(uri); responseData.setUrl(filePath); SmbFile file = null; final SmbAuthentication smbAuthentication = smbAuthenticationHolder.get(filePath);Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Sep 18 09:30:45 UTC 2025 - 23K bytes - Viewed (0)