Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for getViewTemplatePath (0.08 seconds)

  1. src/main/java/org/codelibs/fess/util/ResourceUtil.java

         *
         * @param names the path components to append to the view template directory
         * @return the Path object pointing to the view template directory
         */
        public static Path getViewTemplatePath(final String... names) {
            return getPath("WEB-INF/", "view", names);
        }
    
        /**
         * Gets the path to dictionary files directory.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

                        }
                        if ("view".equals(names[0])) {
                            names[0] = themeName;
                            final Path path = ResourceUtil.getViewTemplatePath(names);
                            Files.createDirectories(path.getParent());
                            Files.copy(zis, path, StandardCopyOption.REPLACE_EXISTING);
                        } else if ("css".equals(names[0])) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            assertNotNull(mailPath);
            assertTrue(mailPath.toString().contains("mail"));
        }
    
        @Test
        public void test_getViewTemplatePath() {
            Path viewPath = ResourceUtil.getViewTemplatePath("view.html");
            assertNotNull(viewPath);
            assertTrue(viewPath.toString().contains("view"));
        }
    
        @Test
        public void test_getDictionaryPath() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final FileTemplateLoader loader = new FileTemplateLoader(ResourceUtil.getViewTemplatePath().toFile());
            final Handlebars handlebars = new Handlebars(loader);
    
            Locale locale = ComponentUtil.getRequestManager().getUserLocale();
            if (locale == null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 52.6K bytes
    - Click Count (0)
Back to Top