Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 52 for TempDir (0.13 sec)

  1. 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: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

            testServletContext = new TestServletContext();
            testServletContext.tempDir = tempDir;
            ComponentUtil.register(testServletContext, ServletContext.class.getCanonicalName());
        }
    
        @Override
        public void tearDown() throws Exception {
            if (tempDir != null && tempDir.exists()) {
                deleteDirectory(tempDir);
            }
            ComponentUtil.setFessConfig(null);
            super.tearDown();
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  3. 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: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. 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: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

        private MockPopularWordHelper mockPopularWordHelper;
        private File tempDir;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
    
            // Create temp directory for testing first
            tempDir = File.createTempFile("suggestjob_test", "");
            tempDir.delete();
            tempDir.mkdirs();
            tempDir.deleteOnExit();
    
            // Create mock objects
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

            // Create temporary directory for test JAR files
            tempDir = Files.createTempDirectory("datastore-test").toFile();
            tempDir.deleteOnExit();
        }
    
        @Override
        public void tearDown() throws Exception {
            // Clean up temporary files
            if (tempDir != null && tempDir.exists()) {
                deleteDirectory(tempDir);
            }
            super.tearDown();
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. api/go1.15.txt

    pkg sync, method (*Map) LoadAndDelete(interface{}) (interface{}, bool)
    pkg testing, method (*B) TempDir() string
    pkg testing, method (*T) Deadline() (time.Time, bool)
    pkg testing, method (*T) TempDir() string
    pkg testing, type TB interface, TempDir() string
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Jul 17 02:15:01 UTC 2020
    - 7.6K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/RequestBodyTest.kt

    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.io.TempDir
    
    class RequestBodyTest {
      private lateinit var filePath: okio.Path
    
      @BeforeEach
      fun setup(
        @TempDir tempDir: Path,
      ) {
        filePath = tempDir.toOkioPath() / "file.txt"
      }
    
      @Test
      fun testFileDescriptor() {
        assertOnFileDescriptor { fd ->
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (1)
  9. cmd/os-readdir_test.go

    	// Add empty entry slice for this test directory.
    	testResults = append(testResults, result{t.TempDir(), []string{}})
    	return testResults
    }
    
    // Test to read non-empty directory with only files.
    func setupTestReadDirFiles(t *testing.T) (testResults []result) {
    	dir := t.TempDir()
    	entries := []string{}
    	for i := range 10 {
    		name := fmt.Sprintf("file-%d", i)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache2/FileOperatorTest.kt

    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.io.TempDir
    
    class FileOperatorTest {
      @TempDir
      var tempDir: File? = null
      private var file: File? = null
      private var randomAccessFile: RandomAccessFile? = null
    
      @BeforeEach
      fun setUp() {
        file = File(tempDir, "test")
        randomAccessFile = RandomAccessFile(file, "rw")
      }
    
      @AfterEach
      fun tearDown() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top