- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for exists (0.19 sec)
-
src/test/java/jcifs/tests/EnumTest.java
SmbFile f = new SmbFile(r, "enum-test/a/b/c/") ) { f.exists(); } } @Test public void testEnumDeepVirgin () throws IOException { try ( SmbFile r = getDefaultShareRoot(); SmbFile f = new SmbFile(r, "x-test/") ) { if ( !f.exists() ) { f.mkdirs(); } }
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/test/java/jcifs/tests/FileOperationsTest.java
try { f.renameTo(f2); try { assertTrue(f2.exists()); renamed = true; } finally { f2.delete(); } } finally { if ( !renamed && f.exists() ) { f.delete(); } } } }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:17:59 GMT 2023 - 16.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileAttributesTest.java
SmbFile checkFile = new SmbFile(f.getCanonicalPath(), f.getContext()) ) { try { assertTrue(checkFile.exists()); } finally { ostream.close(); checkFile.close(); f.delete(); } } } /**
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
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/test/java/jcifs/tests/SessionTest.java
checkConnection(f); f.resolve("test").exists(); } } @Test public void transportReconnects () throws IOException { try ( SmbFile f = getDefaultShareRoot() ) { // transport disconnects can happen pretty much any time assertNotNull(f); f.connect(); f.exists(); assertNotNull(f);
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
static final int O_RDWR = 0x03; static final int O_APPEND = 0x04; // Open Function Encoding // create if the file does not exist static final int O_CREAT = 0x0010; // fail if the file exists static final int O_EXCL = 0x0020; // truncate if the file exists static final int O_TRUNC = 0x0040; // share access /** * When specified as the <tt>shareAccess</tt> constructor parameter,
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)