Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for getResources (0.14 sec)

  1. 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)
  2. 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)
  3. src/main/java/org/codelibs/core/io/ResourceUtil.java

         *            The resource path. Must not be {@literal null} or empty string.
         * @return The resource {@link URL}
         * @see #getResource(String, String)
         */
        public static URL getResource(final String path) {
            assertArgumentNotEmpty("path", path);
    
            return getResource(path, null);
        }
    
        /**
         * Returns the resource from the context class loader.
         *
         * @param path
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  4. 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)
  5. README.md

    CaseInsensitiveMap<String> configMap = new CaseInsensitiveMap<>();
    ```
    
    ### Resource Management
    ```java
    import org.codelibs.core.io.*;
    
    // Resource loading and management
    URL resource = ResourceUtil.getResource("config.properties");
    Properties props = PropertiesUtil.load(resource);
    
    // File operations with proper resource handling
    try (InputStream input = ResourceUtil.getResourceAsStream("data.txt")) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

      }
    
      private void doExtensiveTest(String resourceName) throws IOException {
        Splitter splitter = Splitter.on(CharMatcher.whitespace());
        URL url = getClass().getResource(resourceName);
        for (String line : Resources.readLines(url, UTF_8)) {
          Iterator<String> iterator = splitter.split(line).iterator();
          String input = iterator.next();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

            }
    
            @Override
            public java.util.Set<String> getResourcePaths(String path) {
                return null;
            }
    
            @Override
            public java.net.URL getResource(String path) {
                return null;
            }
    
            @Override
            public java.io.InputStream getResourceAsStream(String path) {
                return null;
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/PythonJobTest.java

            }
    
            @Override
            public java.util.Set<String> getResourcePaths(String path) {
                return null;
            }
    
            @Override
            public java.net.URL getResource(String path) {
                return null;
            }
    
            @Override
            public java.io.InputStream getResourceAsStream(String path) {
                return null;
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

            }
    
            @Override
            public java.util.Set<String> getResourcePaths(String path) {
                return null;
            }
    
            @Override
            public java.net.URL getResource(String path) {
                return null;
            }
    
            @Override
            public java.io.InputStream getResourceAsStream(String path) {
                return null;
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 31.4K bytes
    - Viewed (0)
Back to top