public final class Pipe extends Object implements Closeable
| Constructor and Description |
|---|
Pipe(String name,
InputStream in,
OutputStream out) |
Pipe(String name,
InputStream in,
OutputStream out,
int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the pipe, but not the underlying streams!
|
void |
waitFor() |
public Pipe(String name, InputStream in, OutputStream out)
public Pipe(String name, InputStream in, OutputStream out, int bufferSize)
public void waitFor()
throws InterruptedException
InterruptedExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2020. All rights reserved.