- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for setResources (0.05 sec)
-
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) -
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) -
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) -
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)