Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for registerSmbURLHandler (0.14 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)
  4. src/main/java/jcifs/smb1/Config.java

         *     at java.net.URL.&lt;init&gt;(URL.java:330)
         *     at jcifs.smb1.smb1.SmbFile.&lt;init&gt;(SmbFile.java:355)
         *     ...
         * </pre></blockquote>
         */
    
        public static void registerSmbURLHandler() {
            String ver, pkgs;
    
            ver = System.getProperty("java.version");
            if (ver.startsWith("1.1.") || ver.startsWith("1.2.")) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFile.java

     * </i></strong>
     * <p>
     * When using the {@code java.net.URL} class with
     * 'smb://' URLs it is necessary to first call the static
     * {@code jcifs.Config.registerSmbURLHandler();} method. This is required
     * to register the SMB protocol handler.
     * <p>
     * The userinfo component of the SMB URL ({@code domain;user:pass}) must
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * </i></strong>
     * <p>
     * When using the {@code java.net.URL} class with
     * 'smb1://' URLs it is necessary to first call the static
     * {@code jcifs.smb1.Config.registerSmbURLHandler();} method. This is required
     * to register the SMB protocol handler.
     * <p>
     * The userinfo component of the SMB URL ({@code domain;user:pass}) must
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
Back to top