- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for setResources (0.05 sec)
-
src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java
* Resources that the class loader does not have access to will not be included. * @see java.lang.ClassLoader#getResources(String) */ public static Iterator<URL> getResources(final String name) { assertArgumentNotEmpty("name", name); return getResources(Thread.currentThread().getContextClassLoader(), name); } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 7.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java
*/ @Test public void testGetResources() throws Exception { final String name = TestCase.class.getName().replace('.', '/') + ".class"; final Iterator<URL> itr = ClassLoaderUtil.getResources(this.getClass(), name); assertThat(itr, is(notNullValue())); final URL url = itr.next(); assertThat(url, is(notNullValue())); } /** * @throws Exception */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ProtocolHelper.java
final String path = basePackage.replace('.', '/'); final ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); try { final Enumeration<URL> resources = classLoader.getResources(path); while (resources.hasMoreElements()) { final URL resource = resources.nextElement(); logger.debug("loading {}", resource);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.7K bytes - Viewed (0)