Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isFile (0.16 sec)

  1. src/main/java/jcifs/SmbResource.java

         *
         * @return <code>true</code> if this <code>SmbResource</code> is not a directory
         * @throws CIFSException
         */
        boolean isFile () throws CIFSException;
    
    
        /**
         * Tests to see if the file this <code>SmbResource</code> represents is a directory.
         *
         * @return <code>true</code> if this <code>SmbResource</code> is a directory
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 26K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFile.java

            }
            if ( !exists() )
                return false;
            return ( this.attributes & ATTR_DIRECTORY ) == ATTR_DIRECTORY;
        }
    
    
        @Override
        public boolean isFile () throws SmbException {
            if ( this.fileLocator.isRootOrShare() ) {
                return false;
            }
            exists();
            return ( this.attributes & ATTR_DIRECTORY ) == 0;
        }
    
    
    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)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

    /**
     * Tests to see if the file this <code>SmbFile</code> represents is not a directory.
     *
     * @return <code>true</code> if this <code>SmbFile</code> is not a directory
     */
    
        public boolean isFile() throws SmbException {
            if( getUncPath0().length() == 1 ) {
                return false;
            }
            exists();
            return ( attributes & ATTR_DIRECTORY ) == 0;
        }
    
    /**
    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