Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for SmbFileOutputStream (0.62 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

         * @throws UnknownHostException if the host cannot be resolved
         */
    
        public SmbFileOutputStream(final String url, final int shareAccess) throws SmbException, MalformedURLException, UnknownHostException {
            this(new SmbFile(url, "", null, shareAccess), false);
        }
    
        SmbFileOutputStream(final SmbFile file, final boolean append, final int openFlags)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileOutputStream.java

    import jcifs.internal.smb2.io.Smb2WriteResponse;
    
    /**
     * This <code>OutputStream</code> can write bytes to a file on an SMB file server.
     */
    
    public class SmbFileOutputStream extends OutputStream {
    
        private static final Logger log = LoggerFactory.getLogger(SmbFileOutputStream.class);
    
        private final SmbFile file;
        private final boolean append;
    
        private boolean useNTSmbs;
        private int openFlags;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

        @Mock
        private SmbFileHandleImpl mockFileHandle;
    
        @Mock
        private Configuration mockConfig;
    
        @Mock
        private Smb2WriteResponse mockWriteResponse;
    
        private SmbFileOutputStream outputStream;
    
        @BeforeEach
        void setUp() {
            // Common setup for most tests
            lenient().when(mockFileHandle.getTree()).thenReturn(mockTreeHandle);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbCopyUtilTest.java

        @DisplayName("WriterThread writes provided buffer and stops on -1")
        void writerThread_writes_and_stops() throws Exception {
            // Arrange
            WriterThread w = new WriterThread();
            SmbFileOutputStream out = mock(SmbFileOutputStream.class);
            byte[] payload = new byte[] { 1, 2, 3, 4 };
    
            w.start();
    
            // Wait until writer thread signals readiness
            synchronized (w) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbCopyUtil.java

                final int attrs = src.getAttributes();
    
                try (SmbFileHandleImpl dfd = openCopyTargetFile(dest, attrs, false);
                        SmbFileOutputStream fos =
                                new SmbFileOutputStream(dest, dh, dfd, SmbConstants.O_CREAT | SmbConstants.O_WRONLY | SmbConstants.O_TRUNC,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
Back to top