|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Character input source capable of redirecting characters to a writer. It means that instead of reading characters into an array and then feeding them to the writer, the characters may be moved directly from the reader to the writer.
| Method Summary | |
int |
redirect(java.io.Writer dest,
int len)
Reads and redirects up to the len characters to a
specified writer. |
int |
redirectAll(java.io.Writer dest)
Readirects all further data from this reader into the specified writer, until EOF. |
| Method Detail |
public int redirect(java.io.Writer dest,
int len)
throws java.io.IOException
len characters to a
specified writer. Returns the number of characters actually redirected.
dest - the destination writerlen - the maximum number of characters to redirect
java.io.IOException - if I/O error occurs
public int redirectAll(java.io.Writer dest)
throws java.io.IOException
dest - the destination writer
java.io.IOException - if I/O error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||