- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for ResourceUtil (0.05 sec)
-
src/main/java/org/codelibs/fess/util/ResourceUtil.java
* thumbnails, plugins, and other resources required by the Fess search engine. * It supports both regular deployment and Docker container environments. * */ public class ResourceUtil { /** Environment variable name for overriding the configuration path */ private static final String FESS_OVERRIDE_CONF_PATH = "FESS_OVERRIDE_CONF_PATH";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceUtil.java
import org.codelibs.core.jar.JarFileUtil; import org.codelibs.core.net.URLUtil; /** * Utility class for resource handling. * * @author higa */ public abstract class ResourceUtil { /** * Do not instantiate. */ protected ResourceUtil() { } /** * Returns the resource path. * * @param path * The path. Must not be {@literal null}. * @param extension
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 14.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ThemeHelper.java
final Path viewPath = ResourceUtil.getViewTemplatePath(themeName); closeQuietly(viewPath); final Path imagePath = ResourceUtil.getImagePath(themeName); closeQuietly(imagePath); final Path cssPath = ResourceUtil.getCssPath(themeName); closeQuietly(cssPath); final Path jsPath = ResourceUtil.getJavaScriptPath(themeName); closeQuietly(jsPath); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/PluginHelperTest.java
try (InputStream is = ResourceUtil.getResourceAsStream(url)) { 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: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ResourceUtilTest.java
value = null; assertNull(ResourceUtil.resolve(value)); value = ""; assertEquals("", ResourceUtil.resolve(value)); value = "a"; assertEquals(value, ResourceUtil.resolve(value)); value = "${a}"; assertEquals(value, ResourceUtil.resolve(value)); value = "$a"; assertEquals(value, ResourceUtil.resolve(value)); value = "${a";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java
mockThemeHelper.install(artifact); assertTrue(true); // Should complete without exception } catch (Exception e) { // May fail due to ResourceUtil dependencies in test environment assertTrue(true); } } public void test_install_withInvalidZip() throws IOException { // Create an invalid zip file
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 14.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java
return redirect(getClass()); // no-op } private Path getDocJsonPath() { return ResourceUtil.getClassesPath("fess_indices", "fess", "doc.json"); } private Path getFessJsonPath() { return ResourceUtil.getClassesPath("fess_indices", "fess.json"); } private StreamResponse writeNdjsonResponse(final String id, final Consumer<Writer> writeCall) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 29.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java
// Override ResourceUtil behavior for testing File[] jarFiles = new File[] { jarFile }; return super.loadDataStoreNameList(); } }; // Note: ResourceUtil.getPluginJarFiles is a static method, so we can't mock it directly // The test will verify the method works with the actual ResourceUtil implementation
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.8K bytes - Viewed (0) -
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) -
src/main/java/org/codelibs/core/net/MimeTypeUtil.java
import java.io.IOException; import java.io.InputStream; import java.net.URLConnection; import org.codelibs.core.exception.IORuntimeException; import org.codelibs.core.io.CloseableUtil; import org.codelibs.core.io.ResourceUtil; /** * Utility class for MIME types. * * @author shot */ public abstract class MimeTypeUtil { /** * Do not instantiate. */ protected MimeTypeUtil() { }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 1.9K bytes - Viewed (0)