Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for thumbnails (0.23 sec)

  1. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

    import com.google.common.collect.Lists;
    
    public class ThumbnailManager {
        private static final String NOIMAGE_FILE_SUFFIX = ".txt";
    
        protected static final String THUMBNAILS_DIR_NAME = "thumbnails";
    
        private static final Logger logger = LogManager.getLogger(ThumbnailManager.class);
    
        protected File baseDir;
    
        private final List<ThumbnailGenerator> generatorList = new ArrayList<>();
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/job/PurgeThumbnailJob.java

        public String execute() {
            try {
                final long count = ComponentUtil.getThumbnailManager().purge(getExpiry());
                return "Deleted " + count + " thumbnail files.";
            } catch (final Exception e) {
                logger.error("Failed to purge thumbnails.", e);
                return e.getMessage();
            }
        }
    
        public long getExpiry() {
            return expiry;
        }
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  3. .gitignore

    /src/main/webapp/WEB-INF/lib/
    /src/main/webapp/WEB-INF/site/
    /src/main/webapp/WEB-INF/plugin/
    /src/main/webapp/WEB-INF/env/crawler/lib/
    /src/main/webapp/WEB-INF/env/suggest/lib/
    /src/main/webapp/WEB-INF/env/thumbnail/lib/
    /src/main/webapp/WEB-INF/thumbnails/
    /src/main/webapp/jar/
    /dbflute_fess/extlib/*
    /dbflute_fess/log/*.log
    /dbflute_h2/log/*.log
    /dbflute_mysql/log/*.log
    /dbflute_oracle/log/*.log
    /src/main/webapp/WEB-INF/conf/*.properties
    Plain Text
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Mar 17 01:48:33 GMT 2022
    - 983 bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

                final int totalCount = process(options);
                if (totalCount != 0) {
                    logger.info("Created {} thumbnail files.", totalCount);
                } else {
                    logger.info("No new thumbnails found.");
                }
                exitCode = 0;
            } catch (final ContainerNotAvailableException e) {
                if (logger.isDebugEnabled()) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

            }
    
            final TimeoutTask timeoutTask = createTimeoutTask();
            try {
                executeThumbnailGenerator();
            } catch (final Exception e) {
                logger.warn("Failed to generate thumbnails.", e);
                resultBuf.append(e.getMessage()).append("\n");
            } finally {
                if (timeoutTask != null && !timeoutTask.isCanceled()) {
                    timeoutTask.cancel();
                }
            }
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/ResourceUtil.java

            return getPath("WEB-INF/", "dict", names);
        }
    
        public static Path getThumbnailPath(final String... names) {
            return getPath("WEB-INF/", "thumbnails", names);
        }
    
        public static Path getSitePath(final String... names) {
            return getPath("WEB-INF/", "site", names);
        }
    
        public static Path getPluginPath(final String... names) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  7. src/main/assemblies/files/generate-thumbnail

      check_command convert
      check_command pdftoppm
      check_command unoconv
      tmp_pdf_file=/tmp/thumbnail.$$.pdf
      unoconv -e PageRange=1-1 -o ${tmp_pdf_file} -f pdf "${target_file}"
      if [[ ! -f ${tmp_pdf_file} ]] ; then
        echo "unoconv does not work."
        exit 1
      fi
      tmp_png_prefix=/tmp/thumbnail.png.$$
      pdftoppm -png -singlefile ${tmp_pdf_file} ${tmp_png_prefix}
      tmp_png_file="${tmp_png_prefix}.png"
    Shell Script
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Mon Jun 12 13:13:28 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  8. src/main/resources/fess_thumbnail.xml

    	<component name="msofficeThumbnailGenerator" class="org.codelibs.fess.thumbnail.impl.CommandGenerator">
    		<property name="name">"msofficeThumbnailGenerator"</property>
    		<property name="commandList">
    			["${path}/generate-thumbnail",
    			"msoffice",
    			"${url}",
    			"${outputFile}"]
    		</property>
    		<property name="generatorList">
    			["${path}/generate-thumbnail"]
    		</property>
    		<postConstruct name="addCondition">
    XML
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Fri Oct 11 21:34:52 GMT 2019
    - 5.4K bytes
    - Viewed (0)
  9. src/main/resources/fess_indices/fess_config.thumbnail_queue/thumbnail_queue.json

    {
        "properties": {
          "thumbnail_id": {
            "type": "keyword"
          },
          "path": {
            "type": "keyword"
          },
          "generator": {
            "type": "keyword"
          },
          "target": {
            "type": "keyword"
          },
          "createdTime": {
            "type": "long"
          },
          "createdBy": {
            "type": "keyword"
          }
        }
    Json
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Dec 02 13:14:56 GMT 2021
    - 359 bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

                        }
                        break;
                    default:
                        logger.error("Unknown thumbnail result: {} -> {}", thumbnailId, responseData.getUrl());
                        break;
                    }
                } catch (final Throwable t) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
Back to top