Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for tempdir (1.16 sec)

  1. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

                    docRoot.delete();
                }
            }
        }
    
        protected static File createDocRoot(final int count) {
            try {
                final File tempDir = File.createTempFile("crawlerDocRoot", "");
                tempDir.delete();
                tempDir.mkdirs();
    
                final StringBuilder buf = new StringBuilder();
                buf.append("User-agent: *").append('\n');
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

            this.outputExtension = outputExtension;
        }
    
        /**
         * Sets the temporary directory for file operations.
         * @param tempDir The temporary directory to set.
         */
        public void setTempDir(final File tempDir) {
            this.tempDir = tempDir;
        }
    
        /**
         * Sets the command to execute for text extraction.
         * @param command The command to set.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  3. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

                    docRoot.delete();
                }
            }
        }
    
        protected static File createDocRoot(final int count) {
            try {
                final File tempDir = File.createTempFile("crawlerDocRoot", "");
                tempDir.delete();
                tempDir.mkdirs();
    
                // robots.txt
                StringBuilder buf = new StringBuilder();
                buf.append("User-agent: *").append('\n');
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/context/SingletonContextTest.java

            assertEquals("Singleton context is already initialized", e.getMessage());
        }
    
        @Test
        void testInitLoadsJcifsPropertiesFile(@TempDir Path tempDir) throws IOException, CIFSException {
            // Test that jcifs.properties file is loaded
            Path jcifsPropertiesPath = tempDir.resolve("jcifs.properties");
            Files.writeString(jcifsPropertiesPath, "jcifs.smb.client.nativeOs=FileOS");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/LmhostsTest.java

        private Lmhosts lmhosts;
        private CIFSContext mockContext;
        private Configuration mockConfig;
    
        @TempDir
        Path tempDir;
    
        @BeforeEach
        void setUp() {
            lmhosts = new Lmhosts();
            mockContext = mock(CIFSContext.class);
            mockConfig = mock(Configuration.class);
            when(mockContext.getConfig()).thenReturn(mockConfig);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java

            this.officeManager = officeManager;
        }
    
        /**
         * Sets the temporary directory for file operations.
         *
         * @param tempDir the temporary directory to set
         */
        public void setTempDir(final File tempDir) {
            this.tempDir = tempDir;
        }
    
        /**
         * Sets the output encoding for extracted text.
         *
         * @param outputEncoding the output encoding to set
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

                    docRoot.delete();
                }
            }
        }
    
        protected static File createDocRoot(final int count) {
            try {
                final File tempDir = File.createTempFile("crawlerDocRoot", "");
                tempDir.delete();
                tempDir.mkdirs();
    
                // robots.txt
                StringBuilder buf = new StringBuilder();
                buf.append("User-agent: *").append('\n');
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

            if (servletContext.getAttribute(CONTEXT_TEMPDIR_KEY) instanceof final File tempDirFile) {
                final String tempDir = tempDirFile.getAbsolutePath();
                if (tempDir != null && tempDir.length() > 0) {
                    return tempDir;
                }
            }
            return System.getProperty(JAVA_IO_TMPDIR_KEY);
        }
    
        // -----------------------------------------------------
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 18.6K bytes
    - Viewed (1)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbClientTest.java

            super.setUp();
    
            Path tempDir = Files.createTempDirectory("smb1data");
            Path publicDir = tempDir.resolve("public");
            Files.createDirectory(publicDir);
            Path usersDir = tempDir.resolve("users");
            Files.createDirectory(usersDir);
            Path testuser1Dir = tempDir.resolve("testuser1");
            Files.createDirectory(testuser1Dir);
            Path testuser2Dir = tempDir.resolve("testuser2");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Tue Sep 23 06:42:59 UTC 2025
    - 30K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                    Files.createDirectories(tempDir.resolve("public"));
                    Files.createDirectories(tempDir.resolve("shared"));
    
                    // Create some initial files
                    Files.writeString(tempDir.resolve("public/readme.txt"), "This is a public share for testing");
                    Files.writeString(tempDir.resolve("shared/initial.txt"), "Initial file in shared directory");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
Back to top