/* ************************************************************************
#
#  DivConq
#
#  http://divconq.com/
#
#  Copyright:
#    Copyright 2012 eTimeline, LLC. All rights reserved.
#
#  License:
#    See the license.txt file in the project's top-level directory for details.
#
#  Authors:
#    * Andy White
#
************************************************************************ */
package divconq.io;

import java.io.Reader;

public class ReaderWrapper implements IReader {
	protected Reader rdr = null;
	
	public ReaderWrapper(Reader rdr) {
		this.rdr = rdr;
	}
	
	@Override
	public int readChar() {
		try {
			return rdr.read();
		} 
		catch (Exception e) {
			// TODO Auto-generated catch block
		}
		
		return -1;
	}

}
