Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for deleteOnExit (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
Back to top