|
Is this actual character data you are reading or binary data?
If it is character data use a FileReader to read a character at a time out of the file.
If it is binary data use a FileInputStream to read a byte at a time.
both have the option to read data into either a char[] or a byte[], respectively. This way you can read chunks of the file at a time.
|