- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for openInputStream (0.26 sec)
-
android/guava/src/com/google/common/io/FileBackedOutputStream.java
return openInputStream(); } }; } } /** * Returns a readable {@link ByteSource} view of the data that has been written to this stream. * * @since 15.0 */ public ByteSource asByteSource() { return source; } private synchronized InputStream openInputStream() throws IOException { if (file != null) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 8.2K bytes - Viewed (0) -
src/test/java/jcifs/tests/ConcurrencyTest.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Nov 14 17:40:50 GMT 2021 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/tests/SessionTest.java
int before = t.getInflightRequests(); if ( before > 0 ) { log.warn("Have existing inflight requests"); } try ( InputStream is = f.openInputStream() ) { } catch ( SmbException e ) { // expected } assertEquals(before, t.getInflightRequests()); }
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/test/java/jcifs/tests/FileOperationsTest.java
assertTrue(f.exists()); try ( SmbResource e2 = new SmbFile(t, "test") ) { assertTrue(e2.exists()); try ( InputStream is = e2.openInputStream() ) { ReadWriteTest.verifyRandom(bufSize, length, is); } } } finally { d1.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/main/java/jcifs/SmbResource.java
* @throws CIFSException */ InputStream openInputStream ( int sharing ) throws CIFSException; /** * Opens an input stream reading the file (read only, sharable) * * @return input stream, needs to be closed when finished * @throws CIFSException */ InputStream openInputStream () throws CIFSException; /** * Close/release the file
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Dec 20 14:09:34 GMT 2020 - 26K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Closer.java
* * <p>This class is intended to be used in the following pattern: * * <pre>{@code * Closer closer = Closer.create(); * try { * InputStream in = closer.register(openInputStream()); * OutputStream out = closer.register(openOutputStream()); * // do stuff * } catch (Throwable e) { * // ensure that any checked exception types other than IOException that could be thrown are
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Mar 06 15:15:46 GMT 2024 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
@Override public SmbFileInputStream openInputStream () throws SmbException { return new SmbFileInputStream(this); } @Override public SmbFileInputStream openInputStream ( int sharing ) throws SmbException { return openInputStream(0, O_RDONLY, sharing); } @Override
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)