Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for getCanonicalPath (0.1 sec)

  1. src/test/java/jcifs/smb/SmbFileTest.java

            }
    
            @Test
            void testGetCanonicalPath() {
                // Act & Assert
                assertEquals("smb://localhost/share/file.txt", smbFile.getCanonicalPath());
            }
    
            @Test
            void testGetServer() {
                // Act & Assert
                assertEquals("localhost", smbFile.getServer());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/http/NetworkExplorer.java

            out.println("<a class=\"sort\" style=\"width: 180\" href=\"?fmt=detail&sort=date\">Modified</a><br clear='all'><p>");
    
            path = dir.getCanonicalPath();
    
            if (path.length() < 7) {
                out.println("<b><big>smb1://</big></b><br>");
                path = ".";
            } else {
                out.println("<b><big>" + path + "</big></b><br>");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            // for the local repository setting.
    
            File localRepository = new File(url.substring("file://".length()));
    
            if (!localRepository.isAbsolute()) {
                url = "file://" + localRepository.getCanonicalPath();
            }
    
            return url;
        }
    
        @Override
        public ArtifactResolutionResult resolve(ArtifactResolutionRequest request) {
            /*
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 31.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFile.java

         * this method will result in an <code>SmbFile</code> that is equal to
         * the original.
         *
         * @return  The canonicalized URL of this SMB resource.
         */
    
        public String getCanonicalPath() {
            final String str = url.getAuthority();
            getUncPath0();
            if (str.length() > 0) {
                return "smb1://" + url.getAuthority() + canon;
            }
            return "smb1://";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFile.java

         * this method will result in an <code>SmbFile</code> that is equal to
         * the original.
         *
         * @return The canonicalized URL of this SMB resource.
         */
        public String getCanonicalPath() {
            return this.fileLocator.getCanonicalURL();
        }
    
        /**
         * Retrieves the share associated with this SMB resource. In
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top