Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for canonicalizePath (0.09 sec)

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

        }
    
        @Override
        public String getUNCPath() {
            if (this.unc == null) {
                canonicalizePath();
            }
            return this.unc;
        }
    
        @Override
        public String getURLPath() {
            if (this.unc == null) {
                canonicalizePath();
            }
            return this.canon;
        }
    
        @Override
        public String getShare() {
    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

        void testCanonicalizeInvalidPath() {
            SmbResourceLocatorImpl a = locator("smb:invalid-no-slash");
            // Any accessor that triggers canonicalizePath should throw
            assertThrows(RuntimeCIFSException.class, a::getURLPath);
            assertThrows(RuntimeCIFSException.class, a::getUNCPath);
        }
    
        @Test
    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