Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for setResources (0.11 sec)

  1. src/main/java/org/codelibs/fess/FessBoot.java

                contextPath = contextPath.replaceAll("/+$", StringUtil.EMPTY);
            }
            final Context context = (Context) server.getHost().findChild(contextPath);
            if (context != null) {
                context.setResources(new FessWebResourceRoot(context));
                context.setCookieProcessor(new Rfc6265CookieProcessor());
            }
        }
    
        /**
         * Creates a Fess-specific boot properties translator.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        assertEquals(
            "a.b", new ClassInfo(FILE, "a/b/Foo.class", getClass().getClassLoader()).getPackageName());
      }
    
      // Test that ResourceInfo.urls() returns identical content to ClassLoader.getResources()
    
    
      @AndroidIncompatible
      public void testGetClassPathUrls() throws Exception {
        if (isWindows()) {
          return; // TODO: b/136041958 - We need to account for drive letters in the path.
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 23K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/TraversalUtil.java

                return EMPTY_ARRAY;
            }
    
            final String baseName = toDirectoryName(rootPackage);
            final List<Traverser> list = newArrayList();
            for (final Iterator<URL> it = ClassLoaderUtil.getResources(baseName); it.hasNext();) {
                final URL url = it.next();
                final Traverser resourcesType = getTraverser(url, rootPackage, baseName);
                if (resourcesType != null) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top