Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for isBlank (0.05 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/EncodingHelper.java

         */
        public String normalize(final String enc) {
            if (StringUtil.isBlank(enc)) {
                return defaultEncoding;
            }
    
            final String newEnc = encodingMap.get(toLowerCase(enc));
            if (StringUtil.isBlank(newEnc)) {
                return enc;
            }
            return newEnc;
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProvider.java

        }
    
        @Override
        public String customizeActionMappingRequestPath(final String requestPath) {
            if (StringUtil.isBlank(requestPath)) {
                return null;
            }
            final String virtualHostKey = ComponentUtil.getVirtualHostHelper().getVirtualHostKey();
            if (StringUtil.isBlank(virtualHostKey)) {
                return null;
            }
            final String prefix = "/" + virtualHostKey;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java

         * @param regex The regular expression to match URLs.
         * @param client The CrawlerClient instance.
         */
        public void addClient(final String regex, final CrawlerClient client) {
            if (StringUtil.isBlank(regex)) {
                throw new CrawlerSystemException("A regular expression is null.");
            }
            if (client == null) {
                throw new CrawlerSystemException("CrawlerClient is null.");
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/ContentLengthHelper.java

         * @throws CrawlerSystemException if the MIME type is blank or maxLength is negative
         */
        public void addMaxLength(final String mimeType, final long maxLength) {
            if (StringUtil.isBlank(mimeType)) {
                throw new CrawlerSystemException("MIME type is a blank.");
            }
            if (maxLength < 0) {
                throw new CrawlerSystemException("The value of maxLength is invalid.");
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebAuthentication.java

        }
    
        private AuthScope getAuthScope() {
            if (StringUtil.isBlank(getHostname())) {
                return AuthScope.ANY;
            }
    
            int p;
            if (getPort() == null) {
                p = AuthScope.ANY_PORT;
            } else {
                p = getPort();
            }
    
            String r = getAuthRealm();
            if (StringUtil.isBlank(r)) {
                r = AuthScope.ANY_REALM;
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/OsddHelper.java

         * @return the OSDD file
         */
        protected File getOsddFile() {
            if (!isOsddLinkEnabled()) {
                logger.debug("OSDD is disabled.");
                return null;
            }
            if (StringUtil.isBlank(osddPath)) {
                logger.info("OSDD file is not found.");
                return null;
            }
            final String path = LaServletContextUtil.getServletContext().getRealPath(osddPath);
            if (path == null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java

         * @return the default groups
         */
        protected static String[] getDefaultGroupsAsArray() {
            final String value = ComponentUtil.getFessConfig().getSystemProperty("oic.default.groups");
            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]));
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java

            final String url = DocumentUtil.getValue(doc, fessConfig.getIndexFieldThumbnail(), String.class);
            if (StringUtil.isBlank(form.queryId) || StringUtil.isBlank(url) || !thumbnailSupport) {
                // 404
                throw responseManager.new404("Thumbnail for " + form.docId + " 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)
  9. src/main/java/org/codelibs/fess/helper/NotificationHelper.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String slackWebhookUrls = fessConfig.getSlackWebhookUrls();
            if (StringUtil.isBlank(slackWebhookUrls)) {
                return;
            }
            final String body = toSlackMessage(discloser);
            StreamUtil.split(slackWebhookUrls, "[,\\s]").of(stream -> stream.filter(StringUtil::isNotBlank).forEach(url -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/LanguageHelper.java

         *
         * @param text The text to detect the language from.
         * @return The detected language.
         */
        protected String detectLanguage(final String text) {
            if (StringUtil.isBlank(text)) {
                return null;
            }
            final String target = getDetectText(text);
            final LanguageResult result = detector.detect(target);
            if (logger.isDebugEnabled()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.9K bytes
    - Viewed (0)
Back to top