Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for thumbnail_ (0.12 sec)

  1. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

        }
    
        @Override
        public boolean generate(final String thumbnailId, final File outputFile) {
            if (logger.isDebugEnabled()) {
                logger.debug("Generate Thumbnail: {}", thumbnailId);
            }
    
            if (outputFile.exists()) {
                if (logger.isDebugEnabled()) {
                    logger.debug("The thumbnail file exists: {}", outputFile.getAbsolutePath());
                }
                return true;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. 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()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. 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"
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 12 13:13:28 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. 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) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. .gitignore

    /src/main/webapp/WEB-INF/site/
    /src/main/webapp/WEB-INF/plugin/*
    !/src/main/webapp/WEB-INF/plugin/.keep
    /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
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 01:47:10 UTC 2024
    - 1023 bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/bsentity/BsThumbnailQueue.java

            this.target = value;
        }
    
        public String getThumbnailId() {
            checkSpecifiedProperty("thumbnailId");
            return convertEmptyToNull(thumbnailId);
        }
    
        public void setThumbnailId(String value) {
            registerModifiedProperty("thumbnailId");
            this.thumbnailId = value;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. 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;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/thumbnail/ThumbnailGenerator.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.thumbnail;
    
    import java.io.File;
    import java.util.Map;
    
    import org.codelibs.core.misc.Tuple3;
    
    public interface ThumbnailGenerator {
    
        String getName();
    
        boolean generate(String thumbnailId, File outputFile);
    
        boolean isTarget(Map<String, Object> docMap);
    
        boolean isAvailable();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/thumbnail/impl/EmptyGenerator.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.thumbnail.impl;
    
    import java.io.File;
    
    public class EmptyGenerator extends BaseThumbnailGenerator {
    
        @Override
        public boolean generate(final String thumbnailId, final File outputFile) {
            return false;
        }
    
        @Override
        public void destroy() {
            // nothing
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 939 bytes
    - Viewed (0)
  10. 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">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:34:52 UTC 2019
    - 5.4K bytes
    - Viewed (0)
Back to top