Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 107 for isBlank (0.06 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImpl.java

         */
        protected boolean isNewUrl(final UrlQueueImpl<Long> urlQueue, final Queue<UrlQueueImpl<Long>> urlQueueList) {
    
            final String url = urlQueue.getUrl();
            if (StringUtil.isBlank(url)) {
                if (logger.isDebugEnabled()) {
                    logger.debug("URL is a blank: {}", url);
                }
                return false;
            }
    
            // check it in queue
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

         *
         * @param input the string to encode
         * @return encoded string, or the original input if blank
         */
        public static String sdh(final String input) {
            if (StringUtil.isBlank(input)) {
                return input;
            }
            return ComponentUtil.getDocumentHelper().encodeSimilarDocHash(input);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (1)
  3. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

         * @return The script type.
         */
        protected String getScriptType(final DataStoreParams paramMap) {
            final String value = paramMap.getAsString(SCRIPT_TYPE);
            if (StringUtil.isBlank(value)) {
                return Constants.DEFAULT_SCRIPT;
            }
            return value;
        }
    
        /**
         * Convert the value.
         * @param scriptType The script type.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/exec/Crawler.java

         */
        private static int process(final Options options) {
            final Crawler crawler = ComponentUtil.getComponent(Crawler.class);
    
            if (StringUtil.isBlank(options.sessionId)) {
                // use a default session id
                final SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss");
                options.sessionId = sdf.format(new Date());
            } else {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 31K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java

            assertEquals("", basePath);
    
            basePath = virtualHostHelper.getVirtualHostBasePath("  ", new HtmlNext("/test"));
            assertEquals("", basePath); // StringUtil.isBlank considers whitespace as blank
        }
    
        public void test_getVirtualHostKey() {
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

                dfos = out;
                CopyUtil.copy(in, out);
                out.flush();
    
                Extractor extractor = StringUtil.isBlank(mimeType) ? null : extractorFactory.getExtractor(mimeType);
                if (extractor == null) {
                    final String detectedMimeType = getMimeType(out);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/job/PythonJob.java

            final ProcessHelper processHelper = ComponentUtil.getProcessHelper();
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    
            if (StringUtil.isBlank(filename)) {
                throw new JobProcessingException("Python script is not specified.");
            }
    
            cmdList.add(fessConfig.getPythonCommandPath());
    
            cmdList.add(getPyFilePath());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

                        groupId, artifactId, getVersion(), type, "The version cannot be empty.");
            }
        }
    
        public static boolean empty(String value) {
            return value == null || value.isBlank();
        }
    
        @Override
        public String getClassifier() {
            return classifier;
        }
    
        @Override
        public boolean hasClassifier() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorFactory.java

         * @param extractor The extractor to add. Must not be null.
         */
        public void addExtractor(final String key, final Extractor extractor) {
            if (StringUtil.isBlank(key)) {
                throw new CrawlerSystemException("The key is null.");
            }
            if (extractor == null) {
                throw new CrawlerSystemException("The extractor is null.");
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

         */
        protected String getThemeName(final Artifact artifact) {
            final String themeName = artifact.getName().substring(ArtifactType.THEME.getId().length() + 1);
            if (StringUtil.isBlank(themeName)) {
                throw new ThemeException("Theme name is empty: " + artifact);
            }
            return themeName;
        }
    
        /**
         * Recursively deletes a directory and all its contents.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top