getDocument

final Document getDocument(String id)

Get the document with the given unique identifier.

Return

A Document instance representing all the document's metadata.

Parameters

id

The unique identifier of the document.

final Document getDocument(Uri uri)

Get the document with the given unique identifier.

Please note that this method may use a slightly corrected URI from which it gets the document (e.g. if the URI's host does not conform to the base URL of the Gini API). Therefore it is not possibly to use this method to get a document from an arbitrary URI.

Return

A Document instance representing all the document's metadata.

Parameters

uri

The URI of the document.