Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for ResourceUtil (0.1 sec)

  1. src/main/java/org/codelibs/fess/util/ResourceUtil.java

    import jakarta.servlet.ServletContext;
    
    public class ResourceUtil {
        private static final String FESS_OVERRIDE_CONF_PATH = "FESS_OVERRIDE_CONF_PATH";
    
        private static final String FESS_APP_TYPE = "FESS_APP_TYPE";
    
        private static final String FESS_APP_DOCKER = "docker";
    
        protected ResourceUtil() {
            // nothing
        }
    
        public static String getFesenHttpUrl() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 08:52:32 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

                        try (InputStream is = ResourceUtil.getResourceAsStream(url)) {
                            return new String(InputStreamUtil.getBytes(is), Constants.UTF_8);
                        } catch (IOException e) {
                            throw new IORuntimeException(e);
                        }
                    } else if (url.contains("plugin/repo2")) {
                        try (InputStream is = ResourceUtil.getResourceAsStream(url)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 12:38:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/util/ProfileUtil.java

                    list.add(value);
                }
            }
    
            if (ResourceUtil.getResourceNoException("org/h2/Driver.class") != null) {
                list.add("h2");
            }
    
            if (ResourceUtil.getResourceNoException("com/mysql/jdbc/Driver.class") != null) {
                list.add("mysql");
            }
    
            if (ResourceUtil.getResourceNoException("oracle/jdbc/driver/OracleDriver.class") != null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 1.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. 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)
  6. 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)
  7. 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)
  8. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

    import java.io.File;
    import java.util.Arrays;
    import java.util.Enumeration;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.io.ResourceUtil;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.app.web.base.login.ActionResponseCredential;
    import org.codelibs.fess.app.web.base.login.FessLoginAssist.LoginCredentialResolver;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.regex.Pattern;
    import java.util.stream.Stream;
    
    import org.codelibs.core.io.ResourceUtil;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.suggest.analysis.SuggestAnalyzer;
    import org.codelibs.fess.suggest.constants.FieldNames;
    import org.codelibs.fess.suggest.exception.SuggestSettingsException;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

    import org.codelibs.fess.exception.WebApiException;
    import org.codelibs.fess.mylasta.action.FessUserBean;
    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.ResourceUtil;
    import org.lastaflute.web.servlet.request.RequestManager;
    import org.lastaflute.web.servlet.session.SessionManager;
    
    import jakarta.annotation.PostConstruct;
    import jakarta.servlet.FilterChain;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Aug 15 08:29:24 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top