Content deleted Content added
Line 38:
This method has the advantage of abstracting the [[file type]] from the class that calls this ImageReader, but as the number of file types supported gets larger, the code will quickly become huge, unwieldy and hard to maintain.
===A better, but not perfect, solution===
Another solution that seems possible is to have a separate object for each of these file types:
|