org.apache.commons.collections.primitives.adapters.io
Class CharIteratorReader
java.lang.Object
java.io.Reader
org.apache.commons.collections.primitives.adapters.io.CharIteratorReader
- All Implemented Interfaces:
- Closeable, Readable
public class CharIteratorReader
- extends Reader
Adapts a CharIterator
to the Reader
interface.
- Version:
- $Revision: 480462 $ $Date: 2006-11-29 09:15:00 +0100 (Wed, 29 Nov 2006) $
- Author:
- Rodney Waldhoff
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CharIteratorReader
public CharIteratorReader(CharIterator in)
read
public int read(char[] buf,
int off,
int len)
- Specified by:
read
in class Reader
close
public void close()
- Specified by:
close
in interface Closeable
- Specified by:
close
in class Reader
adapt
public static Reader adapt(CharIterator in)
Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.