Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setCommand (0.03 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

            this.tempDir = tempDir;
        }
    
        /**
         * Sets the command to execute for text extraction.
         * @param command The command to set.
         */
        public void setCommand(final String command) {
            this.command = command;
        }
    
        /**
         * Sets the timeout for command execution.
         * @param executionTimeout The execution timeout in milliseconds.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractorTest.java

                FileUtil.writeBytes(file.getAbsolutePath(), data);
                return file;
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        private String getCommand(final File scriptFile) {
            if (File.separator.equals("/")) {
                // Unix
                return "sh " + scriptFile.getAbsolutePath() + " $INPUT_FILE $OUTPUT_FILE";
            } else {
                // Windows
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 9.8K bytes
    - Viewed (0)
Back to top