Parser - Reader - ..
Hi everyone,
I'm developing a bacth application.
This application has to read a file in which each line represents a Business Object.
To parse this file i've done a static method which, from a line of this file give me an Object.
that's ok !.
But, i've also done a Reader (suchn as java.io.BufferedReader) which is like a decorator around any java.io.Reader and has a method which allow me to read directly my BusinessObject.
(this method, of course, uses my previously defined parser).
My question is :
Do you think is good to create such a reader for this kind of parsing ?
To parse a spacific file format ?
Regards,
Sebastien Degardin.

