Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getTemporaryFile (0.13 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/SitemapsRuleTest.java

            InputStream is = responseData.getResponseBody();
            if (is instanceof TemporaryFileInputStream) {
                File temporaryFile = ((TemporaryFileInputStream) is).getTemporaryFile();
                assertTrue(temporaryFile.exists());
                CloseableUtil.closeQuietly(is);
                assertFalse(temporaryFile.exists());
            } else {
                CloseableUtil.closeQuietly(is);
            }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java

        public TemporaryFileInputStream(final File tempFile) throws FileNotFoundException {
            this.tempFile = tempFile;
            fileInputStream = new FileInputStream(tempFile);
        }
    
        public File getTemporaryFile() {
            return tempFile;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see java.io.InputStream#read()
         */
        @Override
        public int read() throws IOException {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top