5 | | The interface for doing archive extraction will probably be a mixture of Extractor and !DataSource/!DataCrawler. On the one hand they will be mimetype-specific and will operate on an !InputStream (perhaps a !DataObject), just like Extractor, on the other hand they deliver a stream of new !DataObjects. |
| 5 | The interface for doing archive extraction will probably be a mixture of Extractor and !DataSource/!DataCrawler. On the one hand they will be mimetype-specific and will operate on an !InputStream /!DataObject, just like Extractor, on the other hand they deliver a stream of new !DataObjects. |
| 6 | |
| 7 | I think it's best to let it operate on a DataObject, as I expect that a gzip stream does not contain a file name for its contents, whereas people probably expect the archived file to have a name equal to its parent minus the .z/.gz extension. |