diff options
| author | bjculkin <bjculkin@mix.wvu.edu> | 2017-03-20 19:15:16 -0400 |
|---|---|---|
| committer | bjculkin <bjculkin@mix.wvu.edu> | 2017-03-20 19:15:16 -0400 |
| commit | 6b659fe44d6d1d3381a4404c1b8685763f40f344 (patch) | |
| tree | 19498909b56be415d089bb3fba6e3871c105e738 /BJC-Utils2/src/main/java/bjc/utils/exceptions | |
| parent | 0468941a27e0171a8ea19e8d14757a26bfa31c2b (diff) | |
Add BlockReader
Adds BlockReader, which allows you to read blocks of characters delimited
by a given sequence from an arbitrary input source.
It provides line numbering relative to that source, as well as block
numbering.
The main caveat is that to prevent spurious NoSuchElementExceptions, EOF
is always treated as a valid delimiter, so blocks may be shorter than you
expect them to be.
This is only meant as a data input utility, not a data validation utility.
Diffstat (limited to 'BJC-Utils2/src/main/java/bjc/utils/exceptions')
0 files changed, 0 insertions, 0 deletions
