Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 162 for isNotBlank (0.05 sec)

  1. src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java

            if (StringUtil.isBlank(value)) {
                return StringUtil.EMPTY_STRINGS;
            }
            return split(value, ",").get(stream -> stream.filter(StringUtil::isNotBlank).map(String::trim).toArray(n -> new String[n]));
        }
    
        /**
         * Gets the default roles as an array.
         *
         * @return the default roles
         */
        protected static String[] getDefaultRolesAsArray() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java

            final String filename = new String(Base64.getDecoder().decode(id), StandardCharsets.UTF_8).replace("..", "").replaceAll("\\s", "");
            final String logFilePath = systemHelper.getLogFilePath();
            if (StringUtil.isNotBlank(logFilePath) && isLogFilename(filename)) {
                final Path path = Paths.get(logFilePath, filename);
                return asStream(filename).contentTypeOctetStream().stream(out -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/RelatedContentService.java

         */
        protected void setupListCondition(final RelatedContentCB cb, final RelatedContentPager relatedContentPager) {
            if (StringUtil.isNotBlank(relatedContentPager.term)) {
                cb.query().setTerm_Wildcard(wrapQuery(relatedContentPager.term));
            }
            if (StringUtil.isNotBlank(relatedContentPager.content)) {
                cb.query().setContent_Wildcard(wrapQuery(relatedContentPager.content));
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/search/SearchAction.java

            if (form.ex_q != null) {
                stream(form.ex_q).of(stream -> stream.filter(StringUtil::isNotBlank)
                        .distinct()
                        .forEach(q -> pagingQueryList.add("ex_q=" + LaFunctions.u(q))));
            }
            if (StringUtil.isNotBlank(form.sort)) {
                pagingQueryList.add("sort=" + LaFunctions.u(form.sort));
            }
            if (form.lang != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

                final String includedPaths = labelType.getIncludedPaths();
                final String excludedPaths = labelType.getExcludedPaths();
                if (StringUtil.isNotBlank(includedPaths) || StringUtil.isNotBlank(excludedPaths)) {
                    try {
                        list.add(new LabelTypePattern(labelType.getValue(), includedPaths, excludedPaths));
                    } catch (final Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/NotificationHelper.java

            if (StringUtil.isBlank(slackWebhookUrls)) {
                return;
            }
            final String body = toSlackMessage(discloser);
            StreamUtil.split(slackWebhookUrls, "[,\\s]").of(stream -> stream.filter(StringUtil::isNotBlank).forEach(url -> {
                try (CurlResponse response = Curl.post(url).header("Content-Type", "application/json").body(body).execute()) {
                    if (response.getHttpStatusCode() == 200) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/exentity/FileConfig.java

                if (StringUtil.isNotBlank(getIncludedDocPaths())) {
                    final List<Pattern> pathPatterList = new ArrayList<>();
                    final String[] paths = getIncludedDocPaths().split("[\r\n]");
                    for (final String u : paths) {
                        final String v = systemHelper.normalizeConfigPath(u);
                        if (StringUtil.isNotBlank(v)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Apr 03 09:24:53 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                    .of(stream -> stream.filter(StringUtil::isNotBlank).forEach(contentFieldNameSet::add));
            split(fessConfig.getSuggestFieldTags(), ",").of(stream -> stream.filter(StringUtil::isNotBlank).forEach(tagFieldNameSet::add));
            split(fessConfig.getSuggestFieldRoles(), ",").of(stream -> stream.filter(StringUtil::isNotBlank).forEach(roleFieldNameSet::add));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                    boolean first2 = true;
                    for (final Map.Entry<String, Object> entry : doc.entrySet()) {
                        final String name = entry.getKey();
                        if (StringUtil.isNotBlank(name) && entry.getValue() != null) {
                            if (!first2) {
                                buf.append(',');
                            } else {
                                first2 = false;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.6K bytes
    - Viewed (1)
  10. src/main/java/org/codelibs/fess/exec/Crawler.java

         *
         * @param msg the error message to add; ignored if null or blank
         */
        public static void addError(final String msg) {
            if (StringUtil.isNotBlank(msg)) {
                errors.offer(msg);
            }
        }
    
        /**
         * Command-line options container for the crawler application.
         * This class uses args4j annotations to define command-line arguments
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 31K bytes
    - Viewed (0)
Back to top