public class ServletReaderCopier
extends java.io.Reader
Constructor and Description |
---|
ServletReaderCopier(java.io.Reader reader1)
constructor
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
byte[] |
getCopy()
get the copy
|
int |
read(char[] cbuf,
int off,
int len) |
public ServletReaderCopier(java.io.Reader reader1)
reader1
- public byte[] getCopy()
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.Reader
java.io.IOException
Reader.close()
public int read(char[] cbuf, int off, int len) throws java.io.IOException
read
in class java.io.Reader
java.io.IOException
Reader.read(char[], int, int)