Originally posted by Sam Moran: If you are talking about a text file you have to read it line-by-line no matter what!
Actually you can read files in whatever size chunks you want -- lines or no lines, text or binary. Readers should only be used for text, and InputStreams can be used for anything. You can consult the javadocumentation for details on their usage. Here's a common idiom: