Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isDirectory (0.18 sec)

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

         */
        public String getDfsPath () throws SmbException {
            try {
                String path = this.treeConnection.ensureDFSResolved(this.fileLocator).getDfsPath();
                if ( path != null && isDirectory() ) {
                    path += '/';
                }
                return path;
            }
            catch ( CIFSException e ) {
                throw SmbException.wrap(e);
            }
        }
    
    
        /**
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFile.java

        }
    
    /**
     * Tests to see if the file this <code>SmbFile</code> represents is a directory.
     *
     * @return <code>true</code> if this <code>SmbFile</code> is a directory
     */
    
        public boolean isDirectory() throws SmbException {
            if( getUncPath0().length() == 1 ) {
                return true;
            }
            if (!exists()) return false;
            return ( attributes & ATTR_DIRECTORY ) == ATTR_DIRECTORY;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
Back to top