Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getURLPath (0.23 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()) ) {
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Wed Jan 08 13:16:07 GMT 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;
                }
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:24:53 GMT 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>,
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.6K bytes
    - Viewed (0)
Back to top