Changes between Version 1 and Version 2 of ApertureOpeningDocuments
- Timestamp:
- 10/12/05 14:06:28 (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ApertureOpeningDocuments
v1 v2 1 1 = Opening Documents = 2 2 3 Besides crawling resources, we should also be able to open them .3 Besides crawling resources, we should also be able to open them in their default viewer. 4 4 5 At first this may look like a job for the DataAccessor?, which after all has knowledge about the details ofthe physical source.5 At first this may look like a job for the !DataAccessor, which after all has knowledge about how to load the stream from the physical source. 6 6 7 On second thought, I believe that for the opening of files you need some other service, parallel to DataAccessor?, that is also scheme-specific and that takes care of opening the files. Reasons:7 On second thought, I believe that for the opening of files you need some other service, parallel to !DataAccessor, that is also scheme-specific and that takes care of opening the files. Reasons: 8 8 9 - DataAccessors? actually retrieve the files, which is not necessary for some file openers. For example, for opening a local file you can instruct Windows to do just that. Similarly, a web page can be retrieved and shown by a webbrowser, there is no need for us to retrieve the contents and feed it to the browser.9 * !DataAccessors actually retrieve the files/webpages/..., which is often not necessary for some !DataObject openers. For example, for opening a local file you can instruct Windows to do just that. Similarly, a web page can be retrieved and shown by a web browser, there is no need for us to retrieve the contents and feed it to the browser. 10 10 11 - There may be several alternative ways of opening a resource. For example, the java.net JDIC project contains functionality for opening files and webpages, whereas we have our own classes to do that.11 * There may be several alternative ways of opening a resource. For example, the java.net JDIC project contains functionality for opening files and webpages, we have our own classes to do that, there may be customer-specific implementations, etc. 12 12 13 13 This may be a good reason to decouple this functionality from the DataAccessor? and run it in parallel.