Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for openInputStream (0.66 sec)

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

                // Given
                when(mockResource.openInputStream()).thenReturn(mockInputStream);
                when(mockResource.openInputStream(anyInt())).thenReturn(mockInputStream);
                when(mockResource.openInputStream(anyInt(), anyInt(), anyInt())).thenReturn(mockInputStream);
    
                // When
                InputStream is1 = mockResource.openInputStream();
                InputStream is2 = mockResource.openInputStream(1);
    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

         */
        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 if an error occurs accessing the resource
         */
        InputStream openInputStream() 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. src/main/java/jcifs/smb/SmbFile.java

        @Override
        public SmbFileInputStream openInputStream() throws SmbException {
            return new SmbFileInputStream(this);
        }
    
        @Override
        public SmbFileInputStream openInputStream(final int sharing) throws SmbException {
            return openInputStream(0, O_RDONLY, sharing);
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top