Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for isDirectory (0.23 sec)

  1. src/main/java/jcifs/http/NetworkExplorer.java

            if ( f1.isDirectory() != f2.isDirectory() ) {
                return f1.isDirectory() ? -1 : 1;
            }
            return f1name.compareToIgnoreCase(f2.getName());
        }
    
    
        protected int compareSizes ( SmbFile f1, String f1name, SmbFile f2 ) throws IOException {
            long diff;
    
            if ( f1.isDirectory() != f2.isDirectory() ) {
                return f1.isDirectory() ? -1 : 1;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 21.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/http/NetworkExplorer.java

            if( f1.isDirectory() != f2.isDirectory() ) {
                return f1.isDirectory() ? -1 : 1;
            }
            return f1name.compareToIgnoreCase( f2.getName() );
        }
        protected int compareSizes( SmbFile f1, String f1name, SmbFile f2 ) throws IOException {
            long diff;
    
            if( f1.isDirectory() != f2.isDirectory() ) {
                return f1.isDirectory() ? -1 : 1;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Wed Jan 22 03:57:31 GMT 2020
    - 19.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/EnumTest.java

                            System.err.println(serv.getName());
                            assertEquals(SmbConstants.TYPE_SERVER, serv.getType());
                            assertTrue(serv.isDirectory());
                        }
                    }
                }
            }
            catch ( SmbUnsupportedOperationException e ) {
                Assume.assumeTrue("Browsing unsupported", false);
            }
        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/main/java/jcifs/SmbResource.java

         *
         * @return <code>true</code> if this <code>SmbResource</code> is a directory
         * @throws CIFSException
         */
        boolean isDirectory () throws CIFSException;
    
    
        /**
         * Tests to see if the file this <code>SmbResource</code> represents
         * exists and is not marked read-only. By default, resources are
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 26K bytes
    - Viewed (0)
Back to top