Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for deleteInBackground (0.22 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/ResponseDataUtil.java

                fos = new FileOutputStream(tempFile);
                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);
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractor.java

                    try {
                        lhaFile.close();
                    } catch (final IOException e) {
                        // ignore
                    }
                }
                FileUtil.deleteInBackground(tempFile);
            }
    
            return new ExtractData(buf.toString().trim());
        }
    
        /**
         * Sets the maximum content size for extraction.
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java

         * @throws IOException if an I/O error occurs.
         */
        @Override
        public void close() throws IOException {
            try {
                fileInputStream.close();
            } finally {
                FileUtil.deleteInBackground(tempFile);
            }
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/FileUtil.java

            }
        }
    
        /**
         * Deletes the specified file in a background thread.
         *
         * @param file
         *            The file to delete.
         */
        public static void deleteInBackground(final File file) {
            if (file != null) {
                TimeoutManager.getInstance().addTimeoutTarget(() -> {
                    try {
                        Files.deleteIfExists(file.toPath());
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 8.8K bytes
    - Viewed (0)
Back to top