Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for defaultValue (0.2 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

                } catch (final NumberFormatException e) {}
            }
            return defaultValue;
        }
    
        protected String getDefaultString(final String key, final String defaultValue) {
            final String value = systemProperties.getProperty(key);
            if (value != null) {
                return value;
            }
            return defaultValue;
        }
    
        protected boolean isWebCrawlingPath(final String path) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

                }
                return null;
            }
    
            protected String getProperty(final String key, final String defaultValue) {
                return ComponentUtil.getSystemProperties().getProperty(key, defaultValue);
            }
    
            protected String getResourcePath(final String path) {
                final File file = ResourceUtil.getResourceAsFileNoException(path);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                    }
                }
            });
        }
    
        protected String getParamValue(final DataStoreParams paramMap, final String key, final String defaultValue) {
            return paramMap.getAsString(key, defaultValue);
        }
    
        protected void addDocument(final DataStoreParams paramMap, final Map<String, Object> dataMap) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/exec/Crawler.java

                }
            }
        }
    
        private String getValueFromMap(final Map<String, String> dataMap, final String key, final String defaultValue) {
            final String value = dataMap.get(key);
            if (StringUtil.isBlank(value)) {
                return defaultValue;
            }
            return value;
        }
    
        public int doCrawl(final Options options) {
            if (logger.isInfoEnabled()) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 24.1K bytes
    - Viewed (2)
  5. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

            FessConfig fessConfig = new FessConfig.SimpleImpl() {
                @Override
                public String getSystemProperty(final String key, final String defaultValue) {
                    return systemPropMap.getOrDefault(key, defaultValue);
                }
            };
            ComponentUtil.setFessConfig(fessConfig);
            SystemHelper systemHelper = new SystemHelper() {
                @Override
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

        }
    
        public static String getMessage(final String key, final String defaultValue) {
            final Locale locale = LaRequestUtil.getOptionalRequest().map(HttpServletRequest::getLocale).orElse(Locale.ROOT);
            return ComponentUtil.getMessageManager().findMessage(locale, key).orElse(defaultValue);
        }
    
        public static boolean hasActionRole(final String role) {
            final String[] roles;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.9K bytes
    - Viewed (0)
Back to top