- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for registerSmbURLHandler (0.18 seconds)
-
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")); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (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");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.3K bytes - Click Count (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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.1K bytes - Click Count (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.")) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 14.5K bytes - Click Count (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}) mustCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 112.2K bytes - Click Count (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}) mustCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 103.2K bytes - Click Count (0)