Code example for LineNumberReader

Methods: read

0
			return peeked;
		} 
		else{ 
			char toReturn;
            try { 
                toReturn = (char) lineReader.read();
            } catch (IOException e) {
                return eot;
            } 
			current_line.append(toReturn);
			return toReturn;
		} 
	} 
	 
	public char peek() { 
		if ( peekWaiting ) return peeked;
		else { 
			peeked = (char) getNextChar();
			peekWaiting = true;
			return peeked;
Connect your IDE to all the code out there  Get Codota for Java