Imagine I have a very large text file. Performance really matters.
All I want to do is to scan it to look for a certain string. Maybe I want to count how many I have of those, but it really is not the point.
The point is: what's the fastest way ?
I don't care about maintainance it needs to be fast.
Fast is key.
For a one off search use a Scanner, as suggested here