Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for registerSmbURLHandler (0.31 sec)

  1. src/test/java/jcifs/context/SingletonContextTest.java

        }
    
        @Test
        void testRegisterSmbURLHandlerWhenPkgsIsNull() {
            // Test registerSmbURLHandler when java.protocol.handler.pkgs is null
            System.clearProperty("java.protocol.handler.pkgs");
            SingletonContext.registerSmbURLHandler();
            assertEquals("jcifs", System.getProperty("java.protocol.handler.pkgs"));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/context/SingletonContext.java

         *     at jcifs.smb.SmbFile.<init>(SmbFile.java:355)
         *     ...
         * </pre>
         *
         * </blockquote>
         *
         */
        public static void registerSmbURLHandler() {
            SingletonContext.getInstance();
            String pkgs = System.getProperty("java.protocol.handler.pkgs");
            if (pkgs == null) {
                System.setProperty("java.protocol.handler.pkgs", "jcifs");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/Config.java

         *     at jcifs.smb.SmbFile.&lt;init&gt;(SmbFile.java:355)
         *     ...
         * </pre>
         * </blockquote>
         */
        public static void registerSmbURLHandler() {
            SingletonContext.registerSmbURLHandler();
        }
    
        /**
         * Retrieve an <code>int</code>. If the key does not exist or
         * cannot be converted to an <code>int</code>, the provided default
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
Back to top