public abstract class AbstractPipe extends 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 IOException
Pipe.length bytes from this pipe into the buf.read in interface Pipe1 ... buf.length); 0 iff this pipe is emptyIOExceptionpublic final int write(byte[] buf)
throws IOException
Pipe.length bytes from buf to this pipe.write in interface Pipe1 ... buf.length); 0 iff this pipe is fullIOExceptionprotected void finalize()
throws IOException
finalize in class ObjectIOExceptionCopyright © 2018 Arno Unkrig. All rights reserved.