Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 137 for isBlank (0.25 sec)

  1. src/main/java/org/codelibs/fess/ldap/LdapManager.java

            // Add defensive null/blank checks
            if (StringUtil.isBlank(username) || StringUtil.isBlank(password)) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Login failed: username or password is blank");
                }
                return OptionalEntity.empty();
            }
    
            if (StringUtil.isBlank(fessConfig.getLdapProviderUrl()) || !validate()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 86.3K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

            if (StringUtil.isBlank(endpoint)) {
                throw new CrawlingAccessException(
                        "Storage endpoint is blank. Please set the STORAGE_ENDPOINT environment variable or endpoint parameter.");
            }
            builder.endpoint(endpoint);
            final String accessKey = getInitParameter("accessKey", null, String.class);
            if (StringUtil.isBlank(accessKey)) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 20K bytes
    - Viewed (2)
  3. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java

         * @param path The FTP path to check.
         * @return true if it matches, false otherwise.
         */
        boolean matches(final String path) {
            if (StringUtil.isBlank(path)) {
                return false;
            }
    
            try {
                final int pos = path.indexOf('/', 6);
                final URI uri = new URI(pos == -1 ? path : path.substring(0, pos));
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

                return "Unknown error";
            }
    
            final Supplier<String> stacktraceString = () -> {
                final StringBuilder sb = new StringBuilder();
                if (StringUtil.isBlank(cause.getMessage())) {
                    sb.append(cause.getClass().getName());
                } else {
                    sb.append(cause.getMessage());
                }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/storage/GcsStorageClient.java

                        continue;
                    }
    
                    final boolean isDirectory = blobName.endsWith("/");
                    final String name = getName(blobName);
    
                    if (StringUtil.isBlank(name)) {
                        continue;
                    }
    
                    final ZonedDateTime lastModified =
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 21.5K bytes
    - Viewed (0)
Back to top