public class CatReader extends java.io.Reader
| Constructor and Description |
|---|
CatReader(java.io.Reader f,
java.io.Reader s)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close this Reader.
|
int |
read(char[] cbuf,
int off,
int len)
Read char array.
|
public CatReader(java.io.Reader f, java.io.Reader s)
f - first Reader.s - second Reader.public int read(char[] cbuf, int off, int len) throws java.io.IOException
read in class java.io.Readercbuf - array.off - start offset.len - number of chars to read.java.io.IOExceptionpublic void close() throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.Readerjava.io.IOException