Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getPluginPath (0.09 sec)

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

         *
         * @param names the path components to append to the plugin directory
         * @return the Path object pointing to the plugin directory
         */
        public static Path getPluginPath(final String... names) {
            return getPath("WEB-INF/", "plugin", names);
        }
    
        /**
         * Gets the path to the project properties file.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

         * @return the path to the JAR file
         * @throws ThemeException if the JAR file does not exist
         */
        protected Path getJarFile(final Artifact artifact) {
            final Path jarPath = ResourceUtil.getPluginPath(artifact.getFileName());
            if (!Files.exists(jarPath)) {
                throw new ThemeException(artifact.getFileName() + " does not exist.");
            }
            return jarPath;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/PluginHelper.java

                        CopyUtil.copy(in, ResourceUtil.getPluginPath(fileName).toFile());
                    }
                } catch (final Exception e) {
                    throw new PluginException("Failed to install the artifact " + artifact.getName(), e);
                }
            } else {
                try (final InputStream in = new FileInputStream(url)) {
                    CopyUtil.copy(in, ResourceUtil.getPluginPath(fileName).toFile());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            assertNotNull(sitePath);
            assertTrue(sitePath.toString().contains("site"));
        }
    
        public void test_getPluginPath() {
            Path pluginPath = ResourceUtil.getPluginPath("plugin.jar");
            assertNotNull(pluginPath);
            assertTrue(pluginPath.toString().contains("plugin"));
        }
    
        public void test_getProjectPropertiesFile() {
    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