public abstract class AbstractPipe extends java.lang.Object implements Pipe
| Constructor and Description |
|---|
AbstractPipe() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
finalize() |
int |
read(byte[] buf)
Reads at most buf
.length bytes from this pipe into the buf. |
int |
write(byte[] buf)
Writes at most buf
.length bytes from buf to this pipe. |
public final int read(byte[] buf)
throws java.io.IOException
Pipe.length bytes from this pipe into the buf.public final int write(byte[] buf)
throws java.io.IOException
Pipe.length bytes from buf to this pipe.protected void finalize()
throws java.io.IOException
finalize in class java.lang.Objectjava.io.IOException