- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for isDirectory (0.16 sec)
-
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 May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 25.5K 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); } } /**
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) -
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 May 05 00:10:10 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 107.9K bytes - Viewed (2)