Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 108 for isBlank (0.07 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/RequestHeader.java

        public String getValue() {
            return value;
        }
    
        public void setValue(final String value) {
            this.value = value;
        }
    
        public boolean isValid() {
            if (StringUtil.isBlank(name) || value == null) {
                return false;
            }
    
            return true;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/LanguageHelper.java

                        logger.debug("add {} field", lf);
                    }
                }
            }
        }
    
        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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            } catch (final UnsupportedEncodingException e) {
                return path;
            }
        }
    
        public String normalizeConfigPath(final String path) {
    
            if (StringUtil.isBlank(path)) {
                return StringUtils.EMPTY;
            }
    
            final String p = path.trim();
            if (p.startsWith("#")) {
                return StringUtils.EMPTY;
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

            ComponentUtil.getThumbnailManager().add(this);
        }
    
        public void addCondition(final String key, final String regex) {
            final String value = conditionMap.get(key);
            if (StringUtil.isBlank(value)) {
                conditionMap.put(key, regex);
            } else {
                conditionMap.put(key, value + "|" + regex);
            }
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java

                            logger.debug("Loaded KeyMatch Boost Query: {}", boolQuery);
                        }
                        String virtualHost = keyMatch.getVirtualHost();
                        if (StringUtil.isBlank(virtualHost)) {
                            virtualHost = StringUtil.EMPTY;
                        }
                        Map<String, List<Tuple3<String, QueryBuilder, ScoreFunctionBuilder<?>>>> queryMap = keyMatchQueryMap.get(virtualHost);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/FileTypeHelper.java

            mimetypeMap.put(mimetype, filetype);
        }
    
        public String get(final String mimetype) {
            final String filetype = mimetypeMap.get(mimetype);
            if (StringUtil.isBlank(filetype)) {
                return defaultValue;
            }
            return filetype;
        }
    
        public String getDefaultValue() {
            return defaultValue;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideItem.java

            return output;
        }
    
        public boolean isUpdated() {
            return newInput != null && newOutput != null;
        }
    
        public boolean isDeleted() {
            return isUpdated() && StringUtil.isBlank(newInput);
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(input, output);
        }
    
        @Override
        public boolean equals(final Object obj) {
            if (this == obj) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2.7K 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 URL u = new URL(url);
                final String host = u.getHost();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/RelatedQueryHelper.java

            return relatedQueryMap.size();
        }
    
        protected String getHostKey(final RelatedQuery entity) {
            final String key = entity.getVirtualHost();
            return StringUtil.isBlank(key) ? StringUtil.EMPTY : key;
        }
    
        public String[] getRelatedQueries(final String query) {
            final String key = ComponentUtil.getVirtualHostHelper().getVirtualHostKey();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top