org.mule.util
Class ChainedReader

java.lang.Object
  extended byjava.io.Reader
      extended byorg.mule.util.ChainedReader

public class ChainedReader
extends java.io.Reader

ChainedReader allows Reader objects to be chained together. Useful for concatenating data from multiple Reader objects.

Version:
$Revision: 1.3 $
Author:
Ross Mason

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

Constructor Detail

ChainedReader

public ChainedReader(java.io.Reader first,
                     java.io.Reader second)
Method Detail

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException

read

public int read(char[] cbuf,
                int off,
                int len)
         throws java.io.IOException
Throws:
java.io.IOException

read

public int read()
         throws java.io.IOException
Throws:
java.io.IOException

read

public int read(char[] cbuf)
         throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.