Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getWeight (0.07 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/ExtractorFactoryTest.java

            });
            assertEquals(1, extractorFactory.getExtractor(key).getWeight());
            extractorFactory.addExtractor(key, new Extractor() {
                @Override
                public ExtractData getText(InputStream in, Map<String, String> params) {
                    return null;
                }
    
                @Override
                public int getWeight() {
                    return 10;
                }
            });
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Tue Jun 18 05:49:13 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorFactory.java

            }
            if (extractorMap.containsKey(key)) {
                final Extractor oldExtractor = extractorMap.get(key);
                if (oldExtractor.getWeight() > extractor.getWeight()) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Ignored {} on {}. Use {}.", extractor.getClass().getName(), key, oldExtractor.getClass().getName());
                    }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Tue Jun 18 05:49:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueue.java

        void setDepth(Integer depth);
    
        Long getLastModified();
    
        void setLastModified(Long lastModified);
    
        Long getCreateTime();
    
        void setCreateTime(Long createTime);
    
        float getWeight();
    
        void setWeight(float weight);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Mon Nov 04 07:44:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/Extractor.java

    import org.codelibs.fess.crawler.entity.ExtractData;
    
    /**
     * @author shinsuke
     *
     */
    public interface Extractor {
    
        ExtractData getText(InputStream in, Map<String, String> params);
    
        default int getWeight() {
            return 1;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Tue Jun 18 05:49:13 UTC 2024
    - 960 bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueueImpl.java

         */
        @Override
        public void setLastModified(final Long lastModified) {
            this.lastModified = lastModified;
        }
    
        @Override
        public float getWeight() {
            return weight;
        }
    
        @Override
        public void setWeight(float weight) {
            this.weight = weight;
        }
    
        @Override
        public String toString() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Mon Nov 04 07:44:18 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java

            BufferedImage img = ImageIO.read(file);
            logger.debug("width: {}, height: {}", img.getWidth(), img.getHeight());
            assertEquals("Image Width", width, img.getWidth());
            assertEquals("Image Height", height, img.getHeight());
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

                    reader.setInput(input);
                    final ImageReadParam param = reader.getDefaultReadParam();
                    final int width = reader.getWidth(0);
                    final int height = reader.getHeight(0);
                    if (width <= 0 || height <= 0) {
                        return Result.NO_IMAGE;
                    }
                    if (!fessConfig.validateThumbnailSize(width, height)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top