JavaScript Development Tools
Release 3.2

org.eclipse.wst.jsdt.core.util
Class SequenceReader

java.lang.Object
  extended by java.io.Reader
      extended by 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.


Field Summary
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
SequenceReader(Reader[] readers)
           
 
Method Summary
 void close()
           
 int read(char[] cbuf, int off, int len)
           
 
Methods inherited from class java.io.Reader
mark, markSupported, read, read, read, ready, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequenceReader

public SequenceReader(Reader[] readers)
Parameters:
readers - the readers from which to read
Method Detail

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

JavaScript Development Tools
Release 3.2

Copyright (c) IBM Corp. and others 2000, 2010. All Rights Reserved.