org.eclipse.wst.jsdt.core.util
Class SequenceReader
java.lang.Object
java.io.Reader
org.eclipse.wst.jsdt.core.util.SequenceReader
- All Implemented Interfaces:
- Closeable, Readable
public class SequenceReader
- extends Reader
Provides the contents of multiple Readers in sequence.
Method Summary |
void |
close()
|
int |
read(char[] cbuf,
int off,
int len)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SequenceReader
public SequenceReader(Reader[] readers)
- Parameters:
readers
- the readers from which to read
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Specified by:
close
in class Reader
- Throws:
IOException
read
public int read(char[] cbuf,
int off,
int len)
throws IOException
- Specified by:
read
in class Reader
- Throws:
IOException
Copyright (c) IBM Corp. and others 2000, 2010. All Rights Reserved.