- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for getResourcePath (0.48 sec)
-
src/test/java/org/codelibs/core/io/ResourceUtilTest.java
*/ public void testGetResourcePath() throws Exception { assertEquals("1", "aaa/bbb.xml", ResourceUtil.getResourcePath("aaa/bbb.xml", "xml")); assertEquals("2", "aaa/bbb.xml", ResourceUtil.getResourcePath("aaa.bbb", "xml")); assertEquals("3", "org/codelibs/core/io/ResourceUtilTest.class", ResourceUtil.getResourcePath(getClass())); } /** * @throws Exception */
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java
} if (SpnegoHttpFilter.Constants.LOGIN_CONF.equals(name)) { return getResourcePath(getProperty(SPNEGO_LOGIN_CONF, "auth_login.conf")); } if (SpnegoHttpFilter.Constants.KRB5_CONF.equals(name)) { return getResourcePath(getProperty(SPNEGO_KRB5_CONF, "krb5.conf")); } if (SpnegoHttpFilter.Constants.CLIENT_MODULE.equals(name)) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 11.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceUtil.java
* @return リソース * @see #getResourcePath(String, String) */ public static URL getResourceNoException(final String path, final String extension, final ClassLoader loader) { assertArgumentNotNull("loader", loader); if (path == null || loader == null) { return null; } final String p = getResourcePath(path, extension); return loader.getResource(p);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 15.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ResourceTraversalTest.java
/** * @throws Exception */ @Test public void testForEachFile() throws Exception { final File rootDir = ResourceUtil.getBuildDir(getClass()); final String path = ResourceUtil.getResourcePath(getClass()); final int pos = path.lastIndexOf("/"); final String baseDirectory = path.substring(0, pos); ResourceTraversalUtil.forEach(rootDir, baseDirectory, (ResourceHandler) (path1, is) -> {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ClassUtilTest.java
assertThat(ClassUtil.concatName("", ""), is(nullValue())); } /** * */ @Test public void testGetResourcePath() { assertThat(ClassUtil.getResourcePath(getClass()), is("org/codelibs/core/lang/ClassUtilTest.class")); } /** * */ @Test public void testSplitPackageAndShortClassName() {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 6.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassUtil.java
* * @param clazz * クラス。{@literal null}であってはいけません * @return リソースパス * @see #getResourcePath(String) */ public static String getResourcePath(final Class<?> clazz) { assertArgumentNotNull("clazz", clazz); return getResourcePath(clazz.getName()); } /** * クラス名をリソースパスとして表現します。 * * @param className
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 27.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java
default: waitForConfigSyncStatus(); sendConfigFiles(index); break; } } final String indexConfigFile = getResourcePath(indexConfigPath, fesenType, "/" + index + ".json"); try { final String source = readIndexSetting(fesenType, indexConfigFile, numberOfShards, autoExpandReplicas);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sun Oct 20 02:08:03 UTC 2024 - 86.1K bytes - Viewed (0)