Originally Posted by masijade
|
|
You definately do not want to use a Reader, of any kind, for, say, Image data, obviously. ;-)
|
Obviously. You have to know what kind of data is in the file in order to properly process it.
But if its character data, you want to use a buffered, line-oriented steam.
And unless you are a guru, in which case you should not be posting in the "new to java" forum, you should not be reading binary, rather use a library that does it all properly.
Java has libraries for nearly everything. music, audio, images, movies, etc. Do not reinvent the wheel. Go for code reuse.