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 Pipe
1 ...
buf.length
); 0 iff this pipe is emptyIOException
public final int write(byte[] buf) throws IOException
Pipe
.length
bytes from buf to this pipe.write
in interface Pipe
1 ...
buf.length
); 0 iff this pipe is fullIOException
protected void finalize() throws IOException
finalize
in class Object
IOException
Copyright © 2018 Arno Unkrig. All rights reserved.