Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for DocMap (0.15 sec)

  1. src/main/java/org/codelibs/fess/util/DocMap.java

     *
     */
    public class DocMap implements Map<String, Object> {
    
        /** The key used for language field identification */
        private static final String LANG_KEY = "lang";
    
        /** The underlying map that this DocMap wraps */
        private final Map<String, Object> parent;
    
        /**
         * Constructor that creates a DocMap wrapping the given parent map.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            generator = new TestThumbnailGenerator();
            Map<String, Object> docMap = new HashMap<>();
            docMap.put("id", "doc123");
    
            // Since createTask depends on FessConfig, it may not work properly
            // in unit tests without full container
            try {
                generator.createTask("/path/to/thumb.jpg", docMap);
            } catch (Exception e) {
                // Expected when FessConfig is not available
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

            // when proper conditions are not met.
    
            Map<String, Object> docMap = new HashMap<>();
    
            // This will return false because getFessConfig() will fail
            // We verify the method handles the case gracefully
            try {
                emptyGenerator.isTarget(docMap);
            } catch (IllegalStateException e) {
                // Expected when container is not initialized
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  4. 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.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.2K bytes
    - Viewed (0)
Back to top