Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for openOutputStream (1.65 sec)

  1. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            String newContent = "New content\n";
    
            // Write initial content
            try (OutputStream out = file.openOutputStream(false)) {
                out.write(initialContent.getBytes("UTF-8"));
            }
    
            // Overwrite with new content
            try (OutputStream out = file.openOutputStream(false)) {
                out.write(newContent.getBytes("UTF-8"));
            }
    
            // Verify new content
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFile.java

        @Override
        public SmbFileOutputStream openOutputStream() throws SmbException {
            return new SmbFileOutputStream(this);
        }
    
        @Override
        public SmbFileOutputStream openOutputStream(final boolean append) throws SmbException {
            return openOutputStream(append, FILE_SHARE_READ);
        }
    
        @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