The attached patch refactors the importer API so that:
1. It uses separate interfaces for importers that support the Reader method and those that don't to allow them to be statically type checked.
2. Uses a separate ImporterException to allow caller to distinguish between things that were handled (i/o exceptions, etc) and unexpected problems
3. Adds a URL importer interface that can be used by importers that need neither a stream, nor a reader.
Please let me know if it needs revising in any way.
Original issue reported on code.google.com by tfmorris on 4 Aug 2010 at 8:10
Original issue reported on code.google.com by
tfmorris
on 4 Aug 2010 at 8:10Attachments: