Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getInputStream (0.23 sec)

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

            // Verify content in both files
            try (InputStream in = sourceFile.getInputStream()) {
                String sourceContent = new String(in.readAllBytes(), "UTF-8");
                assertEquals(content, sourceContent, "Source content should remain unchanged");
            }
    
            try (InputStream in = targetFile.getInputStream()) {
                String targetContent = new String(in.readAllBytes(), "UTF-8");
    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/SmbTransportImpl.java

                this.socket.setSoTimeout(tc.getConfig().getSoTimeout());
    
                this.out = this.socket.getOutputStream();
                this.in = this.socket.getInputStream();
    
                final SessionServicePacket ssp = new SessionRequestPacket(tc.getConfig(), calledName, tc.getNameServiceClient().getLocalName());
                this.out.write(this.sbuf, 0, ssp.writeWireFormat(this.sbuf, 0));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
Back to top