public class SequenceReader
extends java.io.Reader
Reader
s 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.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.Reader
java.io.IOException
public int read() throws java.io.IOException
read
in class java.io.Reader
java.io.IOException
public int read(char[] cbuf, int off, int len) throws java.io.IOException
read
in class java.io.Reader
java.io.IOException
Copyright © 2010 - 2023 Adobe. All Rights Reserved