Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 780 for rResources (0.1 sec)

  1. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

            try {
                final Enumeration<URL> resources = classLoader.getResources(path);
    
                while (resources.hasMoreElements()) {
                    final URL resource = resources.nextElement();
                    logger.debug("loading {}", resource);
                    if ("file".equals(resource.getProtocol())) {
                        final File directory = new File(resource.getFile());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.7K bytes
    - Viewed (1)
  2. src/main/java/jcifs/CIFSContext.java

        /**
         * Get a resource
         *
         * @param url the URL of the SMB resource
         * @return the SMB resource at the specified location
         * @throws CIFSException if the resource cannot be accessed
         */
        SmbResource get(String url) throws CIFSException;
    
        /**
         * Get a pipe resource
         *
         * @param url the URL of the SMB pipe resource
         * @param pipeType
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/ResourceHandler.java

    package org.codelibs.core.io;
    
    import java.io.InputStream;
    
    /**
     * Interface for handlers that process resources.
     *
     * @author taedium
     */
    public interface ResourceHandler {
    
        /**
         * Processes a resource.
         *
         * @param path the path
         * @param is the {@link InputStream} to read the resource
         */
        void processResource(String path, InputStream is);
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 997 bytes
    - Viewed (0)
  4. guava-gwt/pom.xml

                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
        <resources>
          <resource>
            <directory>src</directory>
          </resource>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbPipeHandleTest.java

            /**
             * Verifies that the handle is automatically closed in a try-with-resources statement.
             * @throws Exception if an error occurs.
             */
            @Test
            public void testTryWithResources() throws Exception {
                // This test ensures that any implementation of SmbPipeHandle can be used in a try-with-resources block.
                try (SmbPipeHandle handle = smbPipeHandle) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbSessionTest.java

                        // Resource usage simulation
                        session.getConfig();
                    }
                }, "SmbSession should work with try-with-resources");
    
                verify(mockSession, times(1)).close();
            }
    
            @Test
            @DisplayName("Should handle exceptions during resource cleanup")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/TraversalUtil.java

    import org.codelibs.core.zip.ZipInputStreamUtil;
    
    /**
     * Utility for traversing collections of classes and resources on the file system or inside JAR files.
     * <p>
     * Target directories on the file system or JAR files are provided as {@link URL}. The appropriate {@link Traverser} is returned depending on the protocol of the URL, and you can traverse classes and resources by calling its methods.
     * </p>
     * <p>
     * Supported protocols:
     * </p>
     * <ul>
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        assertThat(locations).isNotEmpty();
        for (ClassPath.LocationInfo location : locations) {
          ImmutableSet<ResourceInfo> resources = location.scanResources();
          assertThat(location.scanResources()).containsExactlyElementsIn(resources);
        }
      }
    
      public void testLocationsFrom_idempotentLocations() {
        ImmutableSet<ClassPath.LocationInfo> locations =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 23K bytes
    - Viewed (0)
  9. 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)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClient.java

         * @param data the request data to be executed
         * @return the response data from the executed request
         */
        ResponseData execute(RequestData data);
    
        /**
         * Closes the crawler client and releases any resources associated with it.
         * This default implementation does nothing.
         *
         * @throws Exception if an error occurs during closing
         */
        @Override
        default void close() throws Exception {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.8K bytes
    - Viewed (0)
Back to top