Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for images (0.19 sec)

  1. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

                            Files.createDirectories(path.getParent());
                            Files.copy(zis, path, StandardCopyOption.REPLACE_EXISTING);
                        } else if ("images".equals(names[0])) {
                            names[0] = themeName;
                            final Path path = ResourceUtil.getImagePath(names);
                            Files.createDirectories(path.getParent());
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/ResourceUtil.java

            return getPath("WEB-INF/", StringUtil.EMPTY, "project.properties");
        }
    
        public static Path getImagePath(final String... names) {
            return getPath(StringUtil.EMPTY, "images", names);
        }
    
        public static Path getCssPath(final String... names) {
            return getPath(StringUtil.EMPTY, "css", names);
        }
    
        public static Path getJavaScriptPath(final String... names) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

                    && checkFileType(uploadedFileName, fessConfig.getSupportedUploadedMediaExtentionsAsArray())) {
                uploadFile = new File(getServletContext().getRealPath("/images/" + fileName));
            } else if (checkFileType(fileName, fessConfig.getSupportedUploadedCssExtentionsAsArray())
                    && checkFileType(uploadedFileName, fessConfig.getSupportedUploadedCssExtentionsAsArray())) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                                }
                            }
                        }
                    });
                } catch (final IOException e) {
                    logger.warn("Failed to migrate thumbnail images.", e);
                }
            }, "ThumbnailMigrator").start();
        }
    
        public void setThumbnailPathCacheSize(final int thumbnailPathCacheSize) {
            this.thumbnailPathCacheSize = thumbnailPathCacheSize;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java

            final String path = imageFile.getAbsolutePath();
            if (path.endsWith(".png")) {
                return "image/png";
            }
            if (path.endsWith(".gif")) {
                return "image/gif";
            }
            if (path.endsWith(".jpg") || path.endsWith(".jpeg")) {
                return "image/jpeg";
            }
            return "application/octet-stream";
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.thumbnail.impl;
    
    import java.awt.image.BufferedImage;
    import java.io.File;
    import java.io.IOException;
    
    import javax.imageio.ImageIO;
    import javax.imageio.stream.ImageInputStream;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

            FessProp.propMap.clear();
            FessConfig fessConfig = new FessConfig.SimpleImpl() {
                @Override
                public String getCrawlerDocumentHtmlPrunedTags() {
                    return "script,div#main,p.image,a[rel=nofollow],div[x-y=a-.:_0]";
                }
            };
    
            PrunedTag[] tags = fessConfig.getCrawlerDocumentHtmlPrunedTagsAsArray();
            assertTrue(matchesTag(tags[0], "<script></script>"));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/action/FessLabels.java

        /** The key of the message: WEBP Image */
        public static final String LABELS_facet_filetype_wepb = "{labels.facet_filetype_wepb}";
    
        /** The key of the message: BMP Image */
        public static final String LABELS_facet_filetype_bmp = "{labels.facet_filetype_bmp}";
    
        /** The key of the message: ICO Image */
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Fri Mar 22 11:58:34 GMT 2024
    - 146.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

     */
    package org.codelibs.fess.thumbnail.impl;
    
    import java.awt.Image;
    import java.awt.Rectangle;
    import java.awt.image.BufferedImage;
    import java.io.File;
    import java.io.IOException;
    import java.util.Iterator;
    import java.util.Map;
    
    import javax.imageio.ImageIO;
    import javax.imageio.ImageReadParam;
    import javax.imageio.ImageReader;
    import javax.imageio.stream.ImageInputStream;
    
    import org.apache.logging.log4j.LogManager;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

        }
    
        public void test_getThumbnailUrl() throws Exception {
            String data = "<meta property=\"og:image\" content=\"http://example/foo.jpg\" />";
            String expected = "http://example/foo.jpg";
            assertGetThumbnailUrl(data, expected);
    
            data = "<meta property=\"og:image\" content=\"://example/foo.jpg\" />";
            expected = "http://example/foo.jpg";
            assertGetThumbnailUrl(data, expected);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 38.6K bytes
    - Viewed (0)
Back to top