public class CopyingReader extends Reader
| Constructor and Description |
|---|
CopyingReader(Reader r,
Writer sb) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getRead() |
int |
read(char[] cbuf,
int off,
int len)
Read the crud, and append all that was read to the
string buffer also.
|
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class ReaderIOExceptionReader.close()public int read(char[] cbuf,
int off,
int len)
throws IOException
read in class ReaderIOExceptionpublic String getRead()
Copyright © 2017 etc.to. All rights reserved.