public boolean endOfData ( TextProvider textProvider ) { clearLastToken ( textProvider ) ; clearLeadingSpaces ( textProvider ) ; mark ( textProvider ) ; if ( m_debug ) debug ( "testing" , textProvider ) ; try { char c = getNextChar ( textProvider ) ; if ( c == 0 ) { unmark ( textProvider ) ; return true ; } } catch ( Exception e ) { unmark ( textProvider ) ; debug ( textProvider ) ; return true ; } reset ( textProvider ) ; return false ; }
Test to see if we are at the end of the data