| Package | Description | 
|---|---|
| java.io | Provides for system input and output through data streams,
serialization and the file system. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | PipedInputStream. connect(PipedOutputStream src)Causes this piped input stream to be connected
 to the piped  output stream  src. | 
| Constructor and Description | 
|---|
| PipedInputStream(PipedOutputStream src)Creates a  PipedInputStreamso
 that it is connected to the piped output
 streamsrc. | 
| PipedInputStream(PipedOutputStream src,
                int pipeSize)Creates a  PipedInputStreamso that it is
 connected to the piped output streamsrcand uses the specified pipe size for
 the pipe's buffer. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.