- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for registerSmbURLHandler (0.23 sec)
-
src/test/java/jcifs/tests/ContextConfigTest.java
Config.registerSmbURLHandler(); URL u = new URL("smb://localhost/test"); assertThat(u.openConnection(), CoreMatchers.is(CoreMatchers.instanceOf(SmbFile.class))); } @Test @SuppressWarnings ( "deprecation" ) public void testLegacyURLConstructor () throws IOException { Config.registerSmbURLHandler();
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/Config.java
* at jcifs.smb.SmbFile.<init>(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
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) -
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");
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sat Jun 01 08:53:08 GMT 2019 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/Config.java
* at java.net.URL.<init>(URL.java:330) * at jcifs.smb1.smb1.SmbFile.<init>(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." )) {
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) -
src/main/java/jcifs/smb/SmbFile.java
* </i></font> * <p> * When using the <tt>java.net.URL</tt> class with * 'smb://' URLs it is necessary to first call the static * <tt>jcifs.Config.registerSmbURLHandler();</tt> method. This is required * to register the SMB protocol handler. * <p> * The userinfo component of the SMB URL (<tt>domain;user:pass</tt>) must
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 81.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
* </i></font> * <p> * When using the <tt>java.net.URL</tt> class with * 'smb1://' URLs it is necessary to first call the static * <tt>jcifs.smb1.Config.registerSmbURLHandler();</tt> method. This is required * to register the SMB protocol handler. * <p> * The userinfo component of the SMB URL (<tt>domain;user:pass</tt>) must
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 107.9K bytes - Viewed (2)