Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 707 for ressources (0.92 sec)

  1. src/main/java/jcifs/SmbResource.java

         */
        boolean exists() throws CIFSException;
    
        /**
         * Fetch a child resource
         *
         * @param name the name of the child resource to resolve
         * @return the child resource
         * @throws CIFSException if an error occurs accessing the resource
         */
        SmbResource resolve(String name) throws CIFSException;
    
        /**
         * Get the file index
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  2. 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)
  3. src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java

        }
    
        /**
         * Searches for all resources with the specified name from the context class loader.
         *
         * @param name
         *            The resource name. Must not be {@literal null} or an empty string.
         * @return An iterator of URL objects for the resources. If no resources are found, the iterator will be empty.
         *         Resources that the class loader does not have access to will not be included.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

            }
    
            // Session should be automatically released
            assertFalse(session.isInUse(), "Session should be released after try-with-resources");
        }
    
        /**
         * Test resource cleanup behavior
         */
        @Test
        @Timeout(5)
        public void testResourceCleanup() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. 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)
  6. src/test/java/jcifs/http/HandlerTest.java

            // This test verifies that once a handler is cached, subsequent calls reuse it.
            setupMockProtocolHandlers();
            URL url1 = new URL("http://example.com/resource1");
            URL url2 = new URL("http://example.com/resource2");
    
            URLConnection connection1 = handler.openConnection(url1);
            URLConnection connection2 = handler.openConnection(url2);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. README.md

    mvn clirr:check
    ```
    
    ### Architecture Overview
    
    The library follows a layered architecture:
    
    - **Context Layer**: `CIFSContext` interface provides the main entry point
    - **Resource Layer**: `SmbResource` interface represents SMB network resources  
    - **Protocol Layers**: Separate SMB1 (`jcifs.internal.smb1/`) and SMB2/3 (`jcifs.internal.smb2/`) implementations
    - **Authentication**: NTLM, Kerberos, SPNEGO unified subsystem
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 09:24:52 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. 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 (0)
  9. 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)
  10. 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)
Back to top