All Packages Class Hierarchy This Package Previous Next Index
Class COM.Lexical.SequenceReader
java.lang.Object
|
+----java.io.Reader
|
+----COM.Lexical.SequenceReader
- public class SequenceReader
- extends java.io.Reader
Allows an application to combine several Readers serially.
It is an obvious ommission from JDK1.1
- Version:
- Authority1.1, 11 Apr 2000
SequenceReader(Enumeration)
- Constructs a new SequenceReader initialized to the specified
enumeration of Readers.
SequenceReader(Reader, Reader)
- Constructs a new SequenceReader initialized to read first
from the Reader r1, and then from the Reader r2.
close()
-
read(char[], int, int)
-
SequenceReader
public SequenceReader(java.util.Enumeration e)
Constructs a new SequenceReader initialized to the specified
enumeration of Readers. Each object in the enumeration must be a
Reader.
- Parameters:
e - an Enumeration of InputStreams.
SequenceReader
public SequenceReader(java.io.Reader r1,
java.io.Reader r2)
Constructs a new SequenceReader initialized to read first
from the Reader r1, and then from the Reader r2.
- Parameters:
r1 - the first Reader to read.
r2 - the second Reader to read.
read
public int read(char cbuf[],
int off,
int len) throws java.io.IOException
- Overrides:
- read in class java.io.Reader
close
public void close() throws java.io.IOException
- Overrides:
- close in class java.io.Reader
All Packages Class Hierarchy This Package Previous Next Index