Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getCrawlerWebProtocols (0.27 sec)

  1. src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java

    public class ProtocolHelperTest extends UnitFessTestCase {
        public void test_add_httpx() {
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
                public String getCrawlerWebProtocols() {
                    return "http,https";
                }
    
                @Override
                public String getCrawlerFileProtocols() {
                    return "file,smb";
                }
            });
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Jun 18 00:44:11 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

        protected String[] fileProtocols = StringUtil.EMPTY_STRINGS;
    
        @PostConstruct
        public void init() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            webProtocols = split(fessConfig.getCrawlerWebProtocols(), ",")
                    .get(stream -> stream.filter(StringUtil::isNotBlank).map(s -> s.trim() + ":").toArray(n -> new String[n]));
            fileProtocols = split(fessConfig.getCrawlerFileProtocols(), ",")
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jun 19 01:34:15 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top