Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for outputFile (0.13 sec)

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

                FileUtil.deleteInBackground(outputFile);
            }
        }
    
        protected String getOutputContent(final File outputFile, final String outExt) {
            final Extractor extractor = getExtractor(outExt);
            if (extractor != null) {
                final Map<String, String> params = new HashMap<>();
                params.put(ExtractData.RESOURCE_NAME_KEY, outputFile.getName());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

                    ext = outputExtension;
                }
                outputFile = File.createTempFile("cmdextout_" + filePrefix + "_", ext, tempDir);
    
                // store to a file
                CopyUtil.copy(in, inputFile);
    
                executeCommand(inputFile, outputFile);
    
                final ExtractData extractData = new ExtractData(new String(FileUtil.readBytes(outputFile), outputEncoding));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

                    if (outputFile.isFile() && outputFile.length() == 0) {
                        logger.warn("Thumbnail File is empty. ID is {}", thumbnailId);
                        if (outputFile.delete()) {
                            logger.info("Deleted: {}", outputFile.getAbsolutePath());
                        }
                        updateThumbnailField(thumbnailId, StringUtil.EMPTY);
                        return false;
                    }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

                        updateThumbnailField(thumbnailId, StringUtil.EMPTY);
                        if (outputFile.exists() && !outputFile.delete()) {
                            logger.warn("Failed to delete {}", outputFile.getAbsolutePath());
                        }
                    }
                }
                return outputFile.exists();
            });
    
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java

                generator.saveImage(input, outputFile);
            }
            assertImageSize(outputFile, 100, 66);
    
            imagePath = "thumbnail/600x400.jpg";
            try (ImageInputStream input = ImageIO.createImageInputStream(classLoader.getResourceAsStream(imagePath))) {
                generator.saveImage(input, outputFile);
            }
            assertImageSize(outputFile, 100, 66);
    
            imagePath = "thumbnail/400x400.png";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/ExtractGradleApiInfoTask.java

        @CompileClasspath
        public abstract ConfigurableFileCollection getBaselineDistributionJars();
    
        @OutputFile
        public abstract RegularFileProperty getCurrentUpgradedProperties();
    
        @OutputFile
        public abstract RegularFileProperty getBaselineUpgradedProperties();
    
        @TaskAction
        public void execute() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Nov 22 22:15:41 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/io/CopyUtilTest.java

            int result = copy(inputFile, "UTF-8", outputFile, "Shift_JIS");
            assertThat(result, is(urlString.length()));
    
            result = copy(outputFile, "Shift_JIS", writer);
            assertThat(writer.toString(), is(urlString));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testUrlToFile() throws Exception {
            int result = copy(url, outputFile);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

                            } else {
                                File outputFile = null;
                                try {
                                    outputFile = File.createTempFile("crawler-SmbClient-", ".out");
                                    copy(file, outputFile);
                                    responseData.setResponseBody(outputFile, true);
                                } catch (final Exception e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 23 01:54:36 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/flags/flags.go

    }
    
    func Parse() {
    	objabi.Flagparse(Usage)
    	if flag.NArg() == 0 {
    		flag.Usage()
    	}
    
    	// Flag refinement.
    	if *OutputFile == "" {
    		if flag.NArg() != 1 {
    			flag.Usage()
    		}
    		input := filepath.Base(flag.Arg(0))
    		input = strings.TrimSuffix(input, ".s")
    		*OutputFile = fmt.Sprintf("%s.o", input)
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 22 19:18:23 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt

    import org.gradle.api.provider.ListProperty
    import org.gradle.api.tasks.CacheableTask
    import org.gradle.api.tasks.CompileClasspath
    import org.gradle.api.tasks.Input
    import org.gradle.api.tasks.OutputFile
    import org.gradle.api.tasks.TaskAction
    import org.gradle.internal.ErroringAction
    import org.gradle.internal.IoActions
    import org.gradle.internal.util.Trie
    import java.io.BufferedWriter
    import java.io.File
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 19:14:16 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top