Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for openOutputStream (0.07 sec)

  1. src/test/java/jcifs/SmbResourceTest.java

                // Given
                when(mockResource.openOutputStream()).thenReturn(mockOutputStream);
                when(mockResource.openOutputStream(anyBoolean())).thenReturn(mockOutputStream);
                when(mockResource.openOutputStream(anyBoolean(), anyInt())).thenReturn(mockOutputStream);
                when(mockResource.openOutputStream(anyBoolean(), anyInt(), anyInt(), anyInt())).thenReturn(mockOutputStream);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbResource.java

         */
        OutputStream openOutputStream(boolean append) throws CIFSException;
    
        /**
         * Opens an output stream writing to the file (truncating, write only, sharable)
         *
         * @return output stream, needs to be closed when finished
         * @throws CIFSException if an error occurs accessing the resource
         */
        OutputStream openOutputStream() throws CIFSException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  3. android/guava/src/com/google/common/io/Closer.java

     *
     * {@snippet :
     * 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
     *   // provided here, e.g. throw closer.rethrow(e, CheckedException.class);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top