Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for tmpdir (0.24 sec)

  1. src/test/java/org/codelibs/curl/CurlTest.java

            // ## Act ##
            final File tmpDir = Curl.tmpDir;
    
            // ## Assert ##
            assertNotNull(tmpDir);
            assertTrue(tmpDir.exists());
            assertTrue(tmpDir.isDirectory());
            assertTrue(tmpDir.canRead());
            assertTrue(tmpDir.canWrite());
            assertEquals(new File(System.getProperty("java.io.tmpdir")).getAbsolutePath(), tmpDir.getAbsolutePath());
        }
    
        @Test
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

            generator.setCommandDestroyTimeout(timeout);
            assertTrue(true);
        }
    
        public void test_setBaseDir() throws Exception {
            final File tempDir = new File(System.getProperty("java.io.tmpdir"));
            generator.setBaseDir(tempDir);
            assertTrue(true);
        }
    
        public void test_setCommandList() throws Exception {
            final List<String> commands = Collections.singletonList("test_command");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

            assertNotNull(cache);
        }
    
        @Test
        public void testFileBasedCacheConstructor() throws IOException {
            tempFile = File.createTempFile("test", ".tmp", Curl.tmpDir);
            ContentCache cache = new ContentCache(tempFile);
    
            assertNotNull(cache);
        }
    
        @Test
        public void testMemoryBasedCacheGetInputStream() throws IOException {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/curl/Curl.java

     *
     * <p>The temporary directory used by Curl is defined by the {@code tmpDir} field, which is initialized
     * to the system's temporary directory.</p>
     */
    public class Curl {
    
        /**
         * The temporary directory used by Curl. It is initialized to the system's temporary directory.
         */
        public static final File tmpDir = new File(System.getProperty("java.io.tmpdir"));
    
        /**
         * Private constructor to prevent instantiation.
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/curl/io/ContentOutputStream.java

         *
         * @param threshold the threshold in bytes for writing to memory before writing to a file
         * @param tmpDir the temporary directory to create the file in
         */
        public ContentOutputStream(final int threshold, final File tmpDir) {
            super(threshold, PREFIX, SUFFIX, tmpDir);
        }
    
        @Override
        public File getFile() {
            done = true;
            return super.getFile();
        }
    
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/job/SuggestJob.java

            File ownTmpDir = null;
            final String tmpDir = System.getProperty("java.io.tmpdir");
            if (fessConfig.isUseOwnTmpDir() && StringUtil.isNotBlank(tmpDir)) {
                ownTmpDir = new File(tmpDir, "fessTmpDir_" + sessionId);
                if (ownTmpDir.mkdirs()) {
                    cmdList.add("-Djava.io.tmpdir=" + ownTmpDir.getAbsolutePath());
                } else {
                    ownTmpDir = null;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

            File ownTmpDir = null;
            final String tmpDir = System.getProperty("java.io.tmpdir");
            if (fessConfig.isUseOwnTmpDir() && StringUtil.isNotBlank(tmpDir)) {
                ownTmpDir = new File(tmpDir, "fessTmpDir_" + sessionId);
                if (ownTmpDir.mkdirs()) {
                    cmdList.add("-Djava.io.tmpdir=" + ownTmpDir.getAbsolutePath());
                } else {
                    ownTmpDir = null;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/job/CrawlJob.java

            File ownTmpDir = null;
            final String tmpDir = System.getProperty("java.io.tmpdir");
            if (fessConfig.isUseOwnTmpDir() && StringUtil.isNotBlank(tmpDir)) {
                ownTmpDir = new File(tmpDir, "fessTmpDir_" + sessionId);
                if (ownTmpDir.mkdirs()) {
                    cmdList.add("-Djava.io.tmpdir=" + ownTmpDir.getAbsolutePath());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/lang/SystemUtil.java

         */
        public static final String OS_NAME = System.getProperty("os.name");
    
        /**
         * <code>java.io.tmpdir</code> system property. Example: /tmp
         */
        public static final String JAVA_IO_TMPDIR = System.getProperty("java.io.tmpdir");
    
        /**
         * <code>user.dir</code> system property.
         */
        public static final String USER_DIR = System.getProperty("user.dir");
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/FessBoot.java

        private static final String FESS_WEBAPP_PATH = "fess.webapp.path";
    
        /** System property key for Java temporary directory */
        private static final String JAVA_IO_TMPDIR = "java.io.tmpdir";
    
        /** System property key for Tomcat configuration path */
        private static final String TOMCAT_CONFIG_PATH = "tomcat.config.path";
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top