- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for isDirectory (0.75 sec)
-
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;
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 21.3K bytes - Viewed (0) -
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;
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Wed Jan 22 03:57:31 UTC 2020 - 19.7K bytes - Viewed (0) -
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); } }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 25.5K bytes - Viewed (0) -
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;
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 107.9K bytes - Viewed (0) -
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); } } /**
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Thu May 23 01:50:13 UTC 2024 - 82.3K bytes - Viewed (0) -
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
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Dec 20 14:09:34 UTC 2020 - 26K bytes - Viewed (0)