Changes between Version 5 and Version 6 of ApertureDataObjectFile
- Timestamp:
- 11/11/05 11:52:12 (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ApertureDataObjectFile
v5 v6 3 3 Leo: to be used, we can do it as convenient as possible. Meaning, the DataObjectFile has a getMimetype() method which promises to use all tricks that exist. If you don't call getMimetype(), no processing power spilt. If you call it, it guarantees to have done all tricks already (which is very convenient and a useful feaute of the Aperture framework). 4 4 5 Chris: actually, what I propose is to let the metadata of a DataObject only contain the mime type if the data source reports it. It is up to higher level components to apply "tricks" like using a MimeTypeIdentifier. I don't believe this should be hidden behind a method in the DataObject interface, as the question of whether and how you want to process the contents of a DataObject is highly specific.5 Chris: actually, what I propose is to let the metadata of a DataObject only contain the mime type if the data source reports it. It is up to higher level components to apply "tricks" like using a MimeTypeIdentifier. I don't believe this should be hidden behind a method in the DataObject interface, as the question of whether and how you want to process the contents of a DataObject is highly application specific. 6 6 7 7 = New-I/O =