Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 161 for isNotBlank (0.12 sec)

  1. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

                encoding = LastaPrepareFilter.DEFAULT_ENCODING;
            }
    
            // ex. sjis:Shift_JIS,eucjp:EUC-JP
            final String value = config.getInitParameter(ENCODING_MAP);
            if (StringUtil.isNotBlank(value)) {
                final String[] encodingPairs = value.split(",");
                for (final String pair : encodingPairs) {
                    final String[] encInfos = pair.trim().split(":");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/KeyMatchService.java

            });
    
        }
    
        protected void setupListCondition(final KeyMatchCB cb, final KeyMatchPager keyMatchPager) {
            if (StringUtil.isNotBlank(keyMatchPager.term)) {
                cb.query().setTerm_Wildcard(wrapQuery(keyMatchPager.term));
            }
            if (StringUtil.isNotBlank(keyMatchPager.query)) {
                cb.query().setQuery_Wildcard(wrapQuery(keyMatchPager.query));
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProvider.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String name = fessConfig.getQueryBrowserLangParameterName();
            if (StringUtil.isNotBlank(name)) {
                try {
                    return requestManager.getParameter(name).filter(StringUtil::isNotBlank).map(LocaleUtils::toLocale);
                } catch (final Exception e) {
                    logger.debug("Failed to parse a value of {}.", name, e);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                buf.append("text=");
                if (StringUtil.isNotBlank(prefix)) {
                    buf.append(encodeToString(prefix)).append("-,");
                }
                buf.append(encodeToString(textStart));
                if (StringUtil.isNotBlank(textEnd)) {
                    buf.append(',').append(encodeToString(textEnd));
                }
                if (StringUtil.isNotBlank(suffix)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

                // request parameter
                if (StringUtil.isNotBlank(parameterKey)) {
                    processParameter(request, roleSet);
                }
    
                // request header
                if (StringUtil.isNotBlank(headerKey)) {
                    processHeader(request, roleSet);
                }
    
                // cookie
                if (StringUtil.isNotBlank(cookieKey)) {
                    processCookie(request, roleSet);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 25 01:48:41 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

            // last_modified
            // id
            // virtual_host
            defaultDataMap.put(fessConfig.getIndexFieldVirtualHost(),
                    stream(config.getVirtualHosts()).get(stream -> stream.filter(StringUtil::isNotBlank).collect(Collectors.toList())));
    
            storeData(config, callback, paramMap.newInstance(), configScriptMap, defaultDataMap);
    
        }
    
        protected String getScriptType(final DataStoreParams paramMap) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/lang/StringUtilTest.java

         */
        @Test
        public void testIsNotBlank() throws Exception {
            assertEquals("1", false, StringUtil.isNotBlank(" "));
            assertEquals("2", false, StringUtil.isNotBlank(""));
            assertEquals("3", true, StringUtil.isNotBlank("a"));
            assertEquals("4", true, StringUtil.isNotBlank(" a "));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

            valueMap.put("permissions",
                    user.map(u -> stream(u.getPermissions()).get(stream -> stream.collect(Collectors.joining(permissionSeparator))))
                            .filter(StringUtil::isNotBlank).orElse("-"));
            log(valueMap);
        }
    
        public void loginFailure(final OptionalThing<LoginCredential> credential) {
            final Map<String, String> valueMap = new LinkedHashMap<>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/JobHelper.java

                        });
                return params;
            };
            findJobByUniqueOf(LaJobUnique.of(id)).ifPresent(job -> {
                if (!job.isUnscheduled()) {
                    if (StringUtil.isNotBlank(scheduledJob.getCronExpression())) {
                        logger.info("Starting Job {}:{}", id, scheduledJob.getName());
                        final String cronExpression = scheduledJob.getCronExpression();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/LabelTypeService.java

            }
        }
    
        protected void setupListCondition(final LabelTypeCB cb, final LabelTypePager labelTypePager) {
            if (StringUtil.isNotBlank(labelTypePager.name)) {
                cb.query().setName_Wildcard(wrapQuery(labelTypePager.name));
            }
            if (StringUtil.isNotBlank(labelTypePager.value)) {
                cb.query().setValue_Wildcard(wrapQuery(labelTypePager.value));
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top