Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getImagePath (0.05 sec)

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

                        } else if ("images".equals(names[0])) {
                            names[0] = themeName;
                            final Path path = ResourceUtil.getImagePath(names);
                            Files.createDirectories(path.getParent());
                            Files.copy(zis, path, StandardCopyOption.REPLACE_EXISTING);
                        }
                    }
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/ResourceUtil.java

         *
         * @param names the path components to append to the images directory
         * @return the Path object pointing to the images directory
         */
        public static Path getImagePath(final String... names) {
            return getPath(StringUtil.EMPTY, "images", names);
        }
    
        /**
         * Gets the path to CSS files directory.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            assertNotNull(propFile);
            assertTrue(propFile.toString().contains("project.properties"));
        }
    
        public void test_getImagePath() {
            Path imagePath = ResourceUtil.getImagePath("logo.png");
            assertNotNull(imagePath);
            assertTrue(imagePath.toString().contains("images"));
        }
    
        public void test_getCssPath() {
            Path cssPath = ResourceUtil.getCssPath("style.css");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top