- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for registerSmbURLHandler (0.16 sec)
-
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")); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K 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");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.3K 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
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.1K 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.")) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.5K bytes - Viewed (0) -
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}) mustRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0) -
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}) mustRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0)