Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getResourceAsStream (0.15 sec)

  1. src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java

            try (ImageInputStream input = ImageIO.createImageInputStream(classLoader.getResourceAsStream(imagePath))) {
                generator.saveImage(input, outputFile);
            }
            assertImageSize(outputFile, 100, 66);
    
            imagePath = "thumbnail/600x400.gif";
            try (ImageInputStream input = ImageIO.createImageInputStream(classLoader.getResourceAsStream(imagePath))) {
                generator.saveImage(input, outputFile);
            }
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

                            return new String(InputStreamUtil.getBytes(is), Constants.UTF_8);
                        } catch (IOException e) {
                            throw new IORuntimeException(e);
                        }
                    } else if (url.contains("plugin/repo2")) {
                        try (InputStream is = ResourceUtil.getResourceAsStream(url)) {
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Mon Jun 17 12:38:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java

        }
    
        public void test_parse() throws IOException {
            GsaConfigParser parser = new GsaConfigParser();
            try (InputStream is = ResourceUtil.getResourceAsStream("data/gsaconfig.xml")) {
                parser.parse(new InputSource(is));
            }
            parser.getWebConfig().ifPresent(c -> {
                logger.debug(c.toString());
            }).orElse(() -> fail());
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top