Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for isBlank (0.09 sec)

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

                            if (!mappingList.isEmpty()) {
                                elevateWordToLabelBhv.batchInsert(mappingList);
                            }
                        } else if (StringUtil.isBlank(reading) && StringUtil.isBlank(boost)) {
                            elevateWordBhv.delete(elevateWord);
                            final String id = elevateWord.getId();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

                logger.warn("Malformed URL: " + attrValue, e);
            }
        }
    
        protected String encodeUrl(final String url, final String enc) {
            if (StringUtil.isBlank(url) || StringUtil.isBlank(enc)) {
                return url;
            }
    
            final StringBuilder buf = new StringBuilder(url.length() + 100);
            for (final char c : url.toCharArray()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/PermissionHelper.java

        protected String denyPrefix = "(deny)";
    
        @Resource
        protected SystemHelper systemHelper;
    
        public String encode(final String value) {
            if (StringUtil.isBlank(value)) {
                return null;
            }
    
            String permission = value.trim();
            String lower = permission.toLowerCase(Locale.ROOT);
            final String aclPrefix;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/lang/StringUtilTest.java

         */
        @Test
        public void testIsBlank() throws Exception {
            assertEquals("1", true, StringUtil.isBlank(" "));
            assertEquals("2", true, StringUtil.isBlank(""));
            assertEquals("3", false, StringUtil.isBlank("a"));
            assertEquals("4", false, StringUtil.isBlank(" a "));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/exentity/DataConfig.java

                    }
                }
    
                String r = realm;
                if (StringUtil.isBlank(realm)) {
                    r = AuthScope.ANY_REALM;
                }
    
                String s = scheme;
                if (StringUtil.isBlank(scheme) || Constants.NTLM.equals(scheme)) {
                    s = AuthScope.ANY_SCHEME;
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

                jspItems.add(new Pair<>(":" + p.getFirst(), "/" + p.getSecond()));
            }
            for (String key : ComponentUtil.getVirtualHostHelper().getVirtualHostPaths()) {
                if (StringUtil.isBlank(key)) {
                    key = "/";
                }
                for (final Pair<String, String> p : systemHelper.getDesignJspFileNames()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  9. 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 Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

                        } finally {
                            CloseableUtil.closeQuietly(in);
                        }
                    }, contentEncoding, normalizeText);
                    if (StringUtil.isBlank(content)) {
                        if (resourceName != null) {
                            if (logger.isDebugEnabled()) {
                                logger.debug("retry without a resource name: {}", resourceName);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25K bytes
    - Viewed (0)
Back to top