Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for ResourceUtil (0.15 sec)

  1. src/main/java/org/codelibs/core/io/ResourceUtil.java

    import org.codelibs.core.jar.JarFileUtil;
    import org.codelibs.core.net.URLUtil;
    
    /**
     * リソース用のユーティリティクラスです。
     *
     * @author higa
     */
    public abstract class ResourceUtil {
    
        /**
         * リソースパスを返します。
         *
         * @param path
         *            パス。{@literal null}であってはいけません
         * @param extension
         *            拡張子
         * @return リソースパス
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractorTest.java

            final ExtractData extractData = tikaExtractor.getText(in, null);
            final String content = extractData.getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
        }
    
        public void test_getTika_sh() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  3. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler;
    
    import java.io.File;
    
    import org.codelibs.core.io.ResourceUtil;
    import org.codelibs.fess.crawler.container.CrawlerContainer;
    import org.codelibs.fess.crawler.entity.UrlQueue;
    import org.codelibs.fess.crawler.filter.impl.UrlFilterImpl;
    import org.codelibs.fess.crawler.service.DataService;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/PluginHelper.java

                        CopyUtil.copy(in, ResourceUtil.getPluginPath(fileName).toFile());
                    }
                } catch (final Exception e) {
                    throw new PluginException("Failed to install the artifact " + artifact.getName(), e);
                }
            } else {
                try (final InputStream in = new FileInputStream(url)) {
                    CopyUtil.copy(in, ResourceUtil.getPluginPath(fileName).toFile());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 01:47:10 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImplTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.helper.impl;
    
    import java.io.IOException;
    import java.io.InputStream;
    
    import org.codelibs.core.io.ResourceUtil;
    import org.codelibs.fess.crawler.container.StandardCrawlerContainer;
    import org.codelibs.fess.crawler.exception.MimeTypeException;
    import org.codelibs.fess.crawler.helper.MimeTypeHelper;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

     */
    package org.codelibs.fess.crawler;
    
    import java.io.File;
    import java.util.Map;
    
    import org.apache.http.client.config.CookieSpecs;
    import org.codelibs.core.io.ResourceUtil;
    import org.codelibs.fess.crawler.client.CrawlerClientFactory;
    import org.codelibs.fess.crawler.client.FaultTolerantClient;
    import org.codelibs.fess.crawler.client.fs.FileSystemClient;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 18K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

            return redirect(getClass()); // no-op
        }
    
        private Path getDocJsonPath() {
            return ResourceUtil.getClassesPath("fess_indices", "fess", "doc.json");
        }
    
        private Path getFessJsonPath() {
            return ResourceUtil.getClassesPath("fess_indices", "fess.json");
        }
    
        private StreamResponse writeNdjsonResponse(final String id, final Consumer<Writer> writeCall) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.InputStreamThread;
    import org.codelibs.fess.util.JobProcess;
    import org.codelibs.fess.util.ResourceUtil;
    import org.codelibs.fess.util.SystemUtil;
    
    import jakarta.servlet.ServletContext;
    
    public class GenerateThumbnailJob extends ExecJob {
        static final Logger logger = LogManager.getLogger(GenerateThumbnailJob.class);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/job/SuggestJob.java

    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.InputStreamThread;
    import org.codelibs.fess.util.JobProcess;
    import org.codelibs.fess.util.ResourceUtil;
    import org.codelibs.fess.util.SystemUtil;
    
    import jakarta.servlet.ServletContext;
    
    public class SuggestJob extends ExecJob {
    
        private static final Logger logger = LogManager.getLogger(SuggestJob.class);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jun 23 04:13:47 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformerTest.java

     */
    package org.codelibs.fess.crawler.transformer.impl;
    
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.core.io.ResourceUtil;
    import org.codelibs.fess.crawler.Constants;
    import org.codelibs.fess.crawler.entity.AccessResultDataImpl;
    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.entity.ResultData;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top