| 18 | | * binary content and metadata. The object is used primarily to extract |
| 19 | | * information from datasources. For the extraction, both the InputStream |
| 20 | | * returned by getContent() and |
| 21 | | * the RDF metadata returned by getMetadata() are important. |
| 22 | | * In structured data sources that are not file-based, the getContent() method |
| 23 | | * will return null, and all structured data of the object are represented |
| 24 | | * in the getMetadata object. |
| | 18 | * and metadata. The object is used primarily to extract |
| | 19 | * information from datasources. For the extraction, both |
| | 20 | * the RDF metadata returned by getMetadata() and methods provided by possible |
| | 21 | * sub-classes are important. |
| | 22 | * Note that in applications you will find instances of DataObject and its |
| | 23 | * child-interfaces DataObjectFile |
| | 24 | * and DataObjectFolder. Handling a DataObject, you should always (via type checking using 'instanceof') |
| | 25 | * handle additional information provided by the sub-interfaces. |