Interface IDocumentDownloader
- All Superinterfaces:
IDisposable, IEntity
- All Known Subinterfaces:
IEntityUploadResultDownloader
Used to download a document from the Altitude uCI Server.
-
Method Summary
Modifier and TypeMethodDescriptionintgetId()Identifier of theDocumentDownloader.byte[]Returns the next block of the document to download.Methods inherited from interface IDisposable
addDisposedListener, removeDisposedListenerMethods inherited from interface IEntity
getUserContext, setUserContext
-
Method Details
-
getId
-
getNextBlock
Returns the next block of the document to download. This method can be invoked several times to download the complete document, until it returnsnull.- Returns:
- The block of the document encoded in UTF-8, or
nullif all blocks have been downloaded. - Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-