Reading and writing data is a common programming task, but the amount
of data involved can sometimes create a big performance hit. Luckily,
the java.io package provides the tools you need to meet this
challenge.
See:
Handling large data files efficiently with Java
builder.com.com/article.jhtml