Added readLine methods to TextInputStream class.