- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for deleteOnExit (0.07 sec)
-
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
final File indexFile = new File(dir, "index.html"); indexFile.deleteOnExit(); FileUtil.writeBytes(indexFile.getAbsolutePath(), content.getBytes("UTF-8")); for (int i = 1; i <= 10; i++) { final File file = new File(dir, "file" + count + "-" + i + ".html"); file.deleteOnExit(); FileUtil.writeBytes(file.getAbsolutePath(), content.getBytes("UTF-8"));
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 5K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
final int numOfThread = 10; final File file = File.createTempFile("crawler-", ""); file.delete(); file.mkdirs(); file.deleteOnExit(); fileTransformer.setPath(file.getAbsolutePath()); crawler.addUrl(url); crawler.getCrawlerContext().setMaxAccessCount(maxCount);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 7.7K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileModelSourceTest.java
assertTrue(upperCaseFileSource.equals(lowerCaseFileSource)); } private File createTempFile(String name) throws IOException { File tempFile = File.createTempFile(name, ".xml"); tempFile.deleteOnExit(); return tempFile; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
} if (downloadMonitor != null) { wagon.addTransferListener(downloadMonitor); } File temp = new File(destination + ".tmp"); temp.deleteOnExit(); boolean downloaded = false; try { connectWagon(wagon, repository); boolean firstRun = true; boolean retry = true;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 29.9K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java
markForDeletion(dir); return dir; } public synchronized File createTempFile() throws IOException { File tempFile = File.createTempFile(baseFilename, fileSuffix); tempFile.deleteOnExit(); markForDeletion(tempFile); return tempFile; } public void cleanUp() throws IOException { for (Iterator it = filesToDelete.iterator(); it.hasNext(); ) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exec/Crawler.java
logger.debug("Deleted a temp file: {}", propFile.getAbsolutePath()); } systemProperties.reload(propFile.getAbsolutePath()); propFile.deleteOnExit(); } catch (final Exception e) { logger.warn("Failed to create system properties file.", e); } } try {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 24K bytes - Viewed (0)