Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getURLPath (0.35 sec)

  1. src/test/java/jcifs/tests/FileLocationTest.java

                assertEquals(SmbConstants.TYPE_WORKGROUP, fl.getType());
                assertEquals("\\", fl.getUNCPath());
                assertEquals("smb://", fl.getCanonicalURL());
                assertEquals("/", fl.getURLPath());
            }
        }
    
    
        @Test
        public void testEmpty () throws MalformedURLException, CIFSException {
            try ( SmbResource p = new SmbFile("smb:", getContext()) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 13:16:07 UTC 2020
    - 23K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                    this.canon = context.getURLPath() + name + ( trailingSlash ? "/" : "" );
                    this.share = shr;
                }
                else {
                    this.unc = uncPath + name.replace('/', '\\') + ( trailingSlash ? "\\" : "" );
                    this.canon = context.getURLPath() + name + ( trailingSlash ? "/" : "" );
                    this.share = shr;
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbResourceLocator.java

         */
        String getUNCPath ();
    
    
        /**
         * @return The canonicalized URL path (relative to the server/domain)
         */
        String getURLPath ();
    
    
        /**
         * Retrieves the share associated with this SMB resource. In
         * the case of <code>smb://</code>, <code>smb://workgroup/</code>,
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.6K bytes
    - Viewed (0)
Back to top