public final class Pipe
extends java.lang.Object
PipedInputStream
.Constructor and Description |
---|
Pipe(int bufferSize)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
await()
Wait for the read side to close.
|
java.io.InputStream |
getIn()
Get the input (read) side of the pipe.
|
java.io.OutputStream |
getOut()
Get the output (write) side of the pipe.
|
public Pipe(int bufferSize)
bufferSize
- the buffer size to usepublic void await()
public java.io.InputStream getIn()
public java.io.OutputStream getOut()
Copyright © 2016 JBoss, a division of Red Hat, Inc.