Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getCanonicalPath (0.17 sec)

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

            try ( SmbFile f = createTestFile();
                  SmbFileOutputStream ostream = f.openOutputStream(true, SmbConstants.FILE_NO_SHARE);
                  SmbFile checkFile = new SmbFile(f.getCanonicalPath(), f.getContext()) ) {
    
                try {
                    assertTrue(checkFile.exists());
                }
                finally {
                    ostream.close();
                    checkFile.close();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K 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>" );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 22 03:57:31 GMT 2020
    - 19.7K bytes
    - Viewed (0)
  3. 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
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K 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() {
            String str = url.getAuthority();
            getUncPath0();
            if( str.length() > 0 ) {
                return "smb1://" + url.getAuthority() + canon;
            }
            return "smb1://";
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
Back to top