public class PipedReader extends Reader
Modifier and Type | Field and Description |
---|---|
protected char[] |
buffer
buffer
|
protected int |
in
in
|
protected int |
out
out
|
protected static int |
PIPE_SIZE
PIPE_SIZE
|
Constructor and Description |
---|
PipedReader()
PipedReader
|
PipedReader(PipedWriter pipedwriter)
PipedReader
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
connect(PipedWriter pipedwriter) |
int |
read(char[] ac,
int i,
int j) |
protected static final int PIPE_SIZE
protected char[] buffer
protected int in
protected int out
public PipedReader()
public PipedReader(PipedWriter pipedwriter) throws IOException
pipedwriter
- ?IOException
- ?public void close() throws IOException
close
in class Reader
IOException
- ?public void connect(PipedWriter pipedwriter) throws IOException
pipedwriter
- ?IOException
- ?public int read(char[] ac, int i, int j) throws IOException
read
in class Reader
ac
- ?i
- ?j
- ?IOException
- ?