public final class Pipe extends 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.
|
InputStream |
getIn()
Get the input (read) side of the pipe.
|
OutputStream |
getOut()
Get the output (write) side of the pipe.
|
public Pipe(int bufferSize)
bufferSize
- the buffer size to usepublic void await()
public InputStream getIn()
public OutputStream getOut()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.