Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for ResourceUtil (0.08 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

    import java.util.Locale;
    
    import org.apache.commons.io.FileUtils;
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.io.FileUtil;
    import org.codelibs.core.io.ResourceUtil;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.misc.Pair;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.annotation.Secured;
    import org.codelibs.fess.app.web.base.FessAdminAction;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/job/CrawlJob.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 CrawlJob extends ExecJob {
    
        private static final Logger logger = LogManager.getLogger(CrawlJob.class);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jun 23 04:13:47 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top