Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for imagen (0.15 sec)

  1. 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)
  2. samples/guide/src/main/java/okhttp3/recipes/PostMultipart.java

            .addFormDataPart("image", "logo-square.png",
                RequestBody.create(
                    new File("docs/images/logo-square.png"),
                    MEDIA_TYPE_PNG))
            .build();
    
        Request request = new Request.Builder()
            .header("Authorization", "Client-ID " + IMGUR_CLIENT_ID)
            .url("https://api.imgur.com/3/image")
            .post(requestBody)
            .build();
    
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jun 24 12:59:42 GMT 2019
    - 2.2K bytes
    - Viewed (0)
  3. 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)
  4. src/test/java/org/codelibs/core/net/MimeTypeUtilTest.java

            final String path = ClassUtil.getPackageName(this.getClass()).replaceAll("\\.", "/") + "/ccc.gif";
            final String contentType = MimeTypeUtil.guessContentType(path);
            assertEquals("image/gif", contentType);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetFromPath() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  5. 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)
  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. samples/static-server/src/main/java/okhttp3/sample/SampleServer.java

        return result;
      }
    
      private String contentType(String path) {
        if (path.endsWith(".png")) return "image/png";
        if (path.endsWith(".jpg")) return "image/jpeg";
        if (path.endsWith(".jpeg")) return "image/jpeg";
        if (path.endsWith(".gif")) return "image/gif";
        if (path.endsWith(".html")) return "text/html; charset=utf-8";
        if (path.endsWith(".txt")) return "text/plain; charset=utf-8";
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Jan 02 02:50:44 GMT 2019
    - 4.7K bytes
    - Viewed (0)
  8. 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)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java

                config.getCustomStyleSheets().from(extension.getSourceRoot().file("kotlin/styles/gradle.css"));
                config.getCustomAssets().from(extension.getSourceRoot().file("kotlin/images/gradle-logo.svg"));
                config.getFooterMessage().set("Gradle Kotlin DSL Reference");
            });
        }
    
        private static void overrideDokkaVersion(Project project, GradleDocumentationExtension extension) {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 15 14:00:14 GMT 2024
    - 7.7K bytes
    - Viewed (0)
Back to top