Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for protocols (0.17 sec)

  1. src/main/java/jcifs/Config.java

    
        /**
         * This static method registers the SMB URL protocol handler which is
         * required to use SMB URLs with the <tt>java.net.URL</tt> class. If this
         * method is not called before attempting to create an SMB URL with the
         * URL class the following exception will occur:
         * <blockquote>
         * 
         * <pre>
         * Exception MalformedURLException: unknown protocol: smb
         *     at java.net.URL.&lt;init&gt;(URL.java:480)
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/Config.java

            }
            pkgs = System.getProperty( "java.protocol.handler.pkgs" );
            if( pkgs == null ) {
                System.setProperty( "java.protocol.handler.pkgs", "jcifs.smb1" );
            } else if( pkgs.indexOf( "jcifs.smb1" ) == -1 ) {
                pkgs += "|jcifs.smb1";
                System.setProperty( "java.protocol.handler.pkgs", pkgs );
            }
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 11.3K bytes
    - Viewed (0)
Back to top