INNER CODE UNIT · Java

clear

proninyaroslav/libretorrent · app/src/main/java/org/nanohttpd/NanoHTTPD.java:393

        public void clear() {
            for (TempFile file : this.tempFiles) {
                try {
                    file.delete();
                } catch (Exception ignored) {
                    NanoHTTPD.LOG.log(Level.WARNING, "could not delete file ", ignored);
                }
            }
            this.tempFiles.clear();
        }
        @Override
        public TempFile createTempFile(String filename_hint) throws Exception {
            DefaultTempFile tempFile = new DefaultTempFile(this.tmpdir);
            this.tempFiles.add(tempFile);
            return tempFile;
        }
    }
    /**

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…