Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for isTarget (0.9 sec)

  1. src/main/java/org/codelibs/core/beans/converter/DateConverter.java

            if (value == null) {
                return null;
            }
            return StringConversionUtil.toString((Date) value, pattern);
        }
    
        @Override
        public boolean isTarget(final Class<?> clazz) {
            assertArgumentNotNull("clazz", clazz);
            return clazz == Date.class;
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/converter/TimeConverter.java

            if (value == null) {
                return null;
            }
            return StringConversionUtil.toString((Date) value, pattern);
        }
    
        @Override
        public boolean isTarget(final Class<?> clazz) {
            assertArgumentNotNull("clazz", clazz);
            return clazz == Time.class;
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/thumbnail/ThumbnailGenerator.java

         * Checks if this generator can handle the given document.
         * @param docMap The document map containing metadata.
         * @return True if this generator can handle the document, false otherwise.
         */
        boolean isTarget(Map<String, Object> docMap);
    
        /**
         * Checks if this thumbnail generator is available for use.
         * @return True if available, false otherwise.
         */
        boolean isAvailable();
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

            final int m = cal.get(Calendar.MINUTE);
            final int d = cal.get(Calendar.DAY_OF_WEEK); // SUN(1) - SAT(7)
            for (final IntervalRule rule : ruleList) {
                if (rule.isTarget(h, m, d)) {
                    return rule.getDelay();
                }
            }
            return 0;
        }
    
        /**
         * Gets the current calendar instance set to the system time.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Nov 23 12:34:02 UTC 2025
    - 10K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

            if (StringUtil.isBlank(value)) {
                conditionMap.put(key, regex);
            } else {
                conditionMap.put(key, value + "|" + regex);
            }
        }
    
        @Override
        public boolean isTarget(final Map<String, Object> docMap) {
            final String thumbnailFieldName = ComponentUtil.getFessConfig().getIndexFieldThumbnail();
            if (logger.isDebugEnabled()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

         * @param clazz
         *            The class
         * @return The converter
         */
        protected Converter findConverter(final Class<?> clazz) {
            for (final Converter c : converters) {
                if (c.isTarget(clazz)) {
                    return c;
                }
            }
            return null;
        }
    
        /**
         * Finds the default converter corresponding to the class.
         *
         * @param clazz
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

         */
        public boolean offer(final Map<String, Object> docMap) {
            for (final ThumbnailGenerator generator : generatorList) {
                if (generator.isTarget(docMap)) {
                    final String path = getImageFilename(docMap);
                    final Tuple3<String, String, String> task = generator.createTask(path, docMap);
                    if (task != null) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 27K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

             *
             * @param clazz The class to check.
             * @return true if the class is Date.class, false otherwise.
             */
            @Override
            public boolean isTarget(@SuppressWarnings("rawtypes") final Class clazz) {
                return clazz == Date.class;
            }
    
        }
    
        /**
         * Gets the bulk buffer size for batch operations.
         *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:40:57 UTC 2025
    - 34.3K bytes
    - Viewed (0)
Back to top