Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setResources (0.07 sec)

  1. 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top