Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 107 for isBlank (0.04 sec)

  1. src/main/java/org/codelibs/fess/app/service/BadWordService.java

                csvReader.readValues(); // ignore header
                while ((list = csvReader.readValues()) != null) {
                    String targetWord = getValue(list, 0);
                    if (StringUtil.isBlank(targetWord)) {
                        // skip
                        continue;
                    }
                    try {
                        boolean isDelete = false;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/RequestHeader.java

         * A header is considered valid if its name is not blank and its value is not null.
         * @return true if the header is valid, false otherwise.
         */
        public boolean isValid() {
            if (StringUtil.isBlank(name) || value == null) {
                return false;
            }
    
            return true;
        }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

                }
                if (entity.getTerm().startsWith(regexPrefix)) {
                    final String regex = entity.getTerm().substring(regexPrefix.length());
                    if (StringUtil.isBlank(regex)) {
                        logger.warn("Unknown regex pattern: {}", entity.getTerm());
                    } else {
                        pair.getSecond().add(new Pair<>(Pattern.compile(regex), entity.getContent()));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/searchlog/SearchForm.java

         * Returns the default page size if the current size is invalid.
         *
         * @return the validated page size
         */
        public int getPageSize() {
            if (StringUtil.isBlank(size)) {
                return SearchLogPager.DEFAULT_PAGE_SIZE;
            }
            try {
                final int value = Integer.parseInt(size);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/StringUtil.java

         *
         * @param str
         *            the string to check
         * @return {@literal true} if the string is not blank
         * @see #isBlank(String)
         */
        public static boolean isNotBlank(final String str) {
            return !isBlank(str);
        }
    
        /**
         * Returns true if the string contains the specified character.
         *
         * @param str
         *            the string to check
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

            final String endpoint = getInitParameter("endpoint", null, String.class);
            if (StringUtil.isBlank(endpoint)) {
                throw new CrawlingAccessException("endpoint is blank.");
            }
            builder.endpoint(endpoint);
            final String accessKey = getInitParameter("accessKey", null, String.class);
            if (StringUtil.isBlank(accessKey)) {
                throw new CrawlingAccessException("accessKey is blank.");
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 17.9K bytes
    - Viewed (2)
  7. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideItem.java

         * Checks if the item has been marked for deletion.
         *
         * @return true if the item is marked for deletion, false otherwise.
         */
        public boolean isDeleted() {
            return isUpdated() && StringUtil.isBlank(newInput);
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(input, output);
        }
    
        @Override
        public boolean equals(final Object obj) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/HostIntervalController.java

            final UrlQueue<?> urlQueue = CrawlingParameterUtil.getUrlQueue();
            if (urlQueue == null) {
                return;
            }
    
            final String url = urlQueue.getUrl();
            if (StringUtil.isBlank(url) || url.startsWith("file:")) {
                // not target
                return;
            }
    
            try {
                final URI uri = new URI(url);
                final String host = uri.getHost();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/FileTypeHelper.java

         * @return the corresponding file type, or the default value if not found
         */
        public String get(final String mimetype) {
            final String filetype = mimetypeMap.get(mimetype);
            if (StringUtil.isBlank(filetype)) {
                return defaultValue;
            }
            return filetype;
        }
    
        /**
         * Gets the default file type value used when MIME type is not found.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/RelatedQueryHelper.java

         * @return the virtual host key, or empty string if blank or null
         */
        protected String getHostKey(final RelatedQuery entity) {
            final String key = entity.getVirtualHost();
            return StringUtil.isBlank(key) ? StringUtil.EMPTY : key;
        }
    
        /**
         * Retrieves related queries for a given search term.
         * The search is performed using the current virtual host context and
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top