void parseOneFile ( final Path inputPath , final Writer outputWriter ) throws IOException { try ( final TFile . Reader . Scanner scanner = this . getScanner ( inputPath ) ) { while ( ! scanner . atEnd ( ) ) { new LogFileEntry ( scanner . entry ( ) ) . write ( outputWriter ) ; scanner . advance ( ) ; } } }
Parses the given file and writes its contents into the outputWriter for all logs in it .