Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getDfsPath (0.35 sec)

  1. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                return null;
            }
            return str;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbResourceLocator#getDfsPath()
         */
        @Override
        public String getDfsPath() {
            if (this.dfsReferral == null) {
                return null;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            assertEquals(dr, l.getDfsReferral());
            assertEquals("dfs-server", l.getServerWithDfs());
            assertEquals("smb://dfs-server/dfs-share" + l.getUNCPath().replace('\\', '/'), l.getDfsPath());
            assertEquals("dfs-share", l.getShare());
    
            // Path consumed negative -> coerced to 0
            when(dr.getPathConsumed()).thenReturn(-1);
            String unc2 = l.handleDFSReferral(dr, null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top