- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 335 for ofFile (0.02 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java
} /** * Gets the output content from the converted file. * * @param outputFile the converted output file * @param outExt the output file extension * @return the extracted text content * @throws ExtractException if an error occurs while reading the file */ protected String getOutputContent(final File outputFile, final String outExt) {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/NumberConcatenationFilterFactory.java
super(indexSettings, name, settings); final String suffixWordsPath = settings.get("suffix_words_path"); if (suffixWordsPath != null) { final File suffixWordsFile = environment.configDir().resolve(suffixWordsPath).toFile(); try (Reader reader = IOUtils.getDecodingReader(new FileInputStream(suffixWordsFile), StandardCharsets.UTF_8)) { suffixWords = WordlistLoader.getWordSet(reader);
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sun May 18 02:59:16 UTC 2025 - 2.4K bytes - Viewed (0) -
README.md
} } ``` ### File System Crawling ```java import org.codelibs.fess.crawler.client.fs.FileSystemClient; // Configure for file system crawling container.singleton("fsClient", FileSystemClient.class); // Add file URL crawler.addUrl("file:///path/to/directory"); crawler.urlFilter.addInclude("file:///path/to/directory/.*"); ``` ## Configuration
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Aug 31 05:32:52 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java
} final Path path = env.configDir().resolve(filePath); try { final File file = path.toFile(); if (file.exists()) { reloadableFile = file; } reader = new BufferedReader(new InputStreamReader(path.toUri().toURL().openStream(), StandardCharsets.UTF_8));Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sun May 18 02:59:16 UTC 2025 - 6.7K bytes - Viewed (1) -
fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Mar 13 08:18:01 UTC 2025 - 320.1K bytes - Viewed (1) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java
} } else if (!file.mkdirs()) { throw new CrawlerSystemException("Could not create " + file.getAbsolutePath()); } targetFile = file; } File file = new File(targetFile, paths[paths.length - 1]); if (file.exists()) { for (int i = 0; i < maxDuplicatedPath; i++) { file = new File(targetFile, paths[paths.length - 1] + "_" + i);Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 11.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractorTest.java
} File file; try { file = File.createTempFile("script", extention); file.deleteOnExit(); FileUtil.writeBytes(file.getAbsolutePath(), content.getBytes()); return file; } catch (final IOException e) { throw new IORuntimeException(e); } } private File createScriptTempFileStdout(final int sleep) {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 9.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImplTest.java
public void test_getRule_sitemaps1() { final ResponseData responseData = new ResponseData(); responseData.setUrl("http://www.example.com/sitemap1.xml"); File file = ResourceUtil.getResourceAsFile("sitemaps/sitemap1.xml"); responseData.setResponseBody(file, false); final Rule rule = ruleManager.getRule(responseData); assertNotNull(rule); assertEquals("sitemapsRule", rule.getRuleId());
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 6.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java
} /** * Sets the output file extension. * @param outputExtension The output file extension to set. */ public void setOutputExtension(final String outputExtension) { this.outputExtension = outputExtension; } /** * Sets the temporary directory for file operations. * @param tempDir The temporary directory 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) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
try { final int maxCount = 50; final int numOfThread = 10; final File file = File.createTempFile("crawler-", ""); file.delete(); file.mkdirs(); file.deleteOnExit(); fileTransformer.setPath(file.getAbsolutePath()); crawler.addUrl(url); crawler.crawlerContext.setMaxAccessCount(maxCount);Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 19.1K bytes - Viewed (0)