Returns the next record in the master file. This will process any directives before the next record. @return The next record. @throws IOException The master file could not be read, or was syntactically invalid.
()
| 382 | * invalid. |
| 383 | */ |
| 384 | public Record |
| 385 | nextRecord() throws IOException { |
| 386 | Record rec = null; |
| 387 | try { |
| 388 | rec = _nextRecord(); |
| 389 | } |
| 390 | finally { |
| 391 | if (rec == null) { |
| 392 | st.close(); |
| 393 | } |
| 394 | } |
| 395 | return rec; |
| 396 | } |
| 397 | |
| 398 | /** |
| 399 | * Specifies whether $GENERATE statements should be expanded. Whether |
no test coverage detected