|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataObject
A general interface for information items obtained from accessing a DataSource. DataObjects typically represent files, folders, web pages, e-mails, etc.
A DataObject consists of an identifier (a URI) and metadata that describes that identifier. Subinterfaces may define methods for accessing additional information, e.g. an InputStream.
Calling the getMetadata() method will retrieve structured data that exists in the realm of the DataSource. Examples include path and file names, sizes, last modification dates, etc.
Method Summary | |
---|---|
void |
dispose()
Closes this DataObject, freeing any resources that it keeps hold of. |
DataSource |
getDataSource()
Gets the DataSource from which this DataObject was obtained. |
URI |
getID()
Gets the DataObject's primary identifier. |
RDFContainer |
getMetadata()
Get the metadata describing this DataObject's ID. |
Method Detail |
---|
URI getID()
DataSource getDataSource()
RDFContainer getMetadata()
void dispose()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |