public class SequenceReader
extends java.io.Reader
Readers in sequence.
Like SequenceInputStream but for Reader arguments.
| Constructor and Description |
|---|
SequenceReader(java.lang.Iterable<? extends java.io.Reader> readers)
Constructs a new instance with readers
|
SequenceReader(java.io.Reader... readers)
Constructs a new instance with readers
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read() |
int |
read(char[] cbuf,
int off,
int len) |
public SequenceReader(java.lang.Iterable<? extends java.io.Reader> readers)
readers - the readers to readpublic SequenceReader(java.io.Reader... readers)
readers - the readers to readpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.Readerjava.io.IOExceptionpublic int read()
throws java.io.IOException
read in class java.io.Readerjava.io.IOExceptionpublic int read(char[] cbuf,
int off,
int len)
throws java.io.IOException
read in class java.io.Readerjava.io.IOExceptionCopyright © 2010 - 2023 Adobe. All Rights Reserved