Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getCrawlerDocumentHtmlDefaultLang (0.28 sec)

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

            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                @Override
                public String getCrawlerDocumentHtmlDefaultLang() {
                    return "en";
                }
            });
            assertEquals("en", systemHelper.normalizeHtmlLang("ja"));
        }
    
        public void test_normalizeLang() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SystemHelper.java

        }
    
        public String normalizeHtmlLang(final String value) {
            final String defaultLang = ComponentUtil.getFessConfig().getCrawlerDocumentHtmlDefaultLang();
            if (StringUtil.isNotBlank(defaultLang)) {
                return defaultLang;
            }
    
            return normalizeLang(value);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
Back to top