org.mule.util
Class ChainedReader
java.lang.Object
java.io.Reader
org.mule.util.ChainedReader
- All Implemented Interfaces:
- Closeable, Readable
public class ChainedReader
- extends Reader
ChainedReader
allows Reader objects to be chained together. Useful
for concatenating data from multiple Reader objects.
Method Summary |
void |
close()
|
int |
read()
|
int |
read(char[] cbuf)
|
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 |
ChainedReader
public ChainedReader(Reader first,
Reader second)
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
read
public int read()
throws IOException
- Overrides:
read
in class Reader
- Throws:
IOException
read
public int read(char[] cbuf)
throws IOException
- Overrides:
read
in class Reader
- Throws:
IOException
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.