org.exist.protocolhandler.embedded
Class EmbeddedDownload
java.lang.Object
org.exist.protocolhandler.embedded.EmbeddedDownload
public class EmbeddedDownload
- extends Object
Read document from an embedded database and write the data into an
output stream.
- Author:
- Dannes Wessels
EmbeddedDownload
public EmbeddedDownload()
stream
public void stream(XmldbURL xmldbURL,
OutputStream os)
throws IOException
- Write document referred by URL to an (output)stream.
- Parameters:
xmldbURL
- Document location in database.os
- Stream to which the document is written.
- Throws:
IOException
stream
public void stream(XmldbURL xmldbURL,
OutputStream os,
User user)
throws IOException
- Write document referred by URL to an (output)stream as specified user.
- Parameters:
user
- Effective user for operation. If NULL the user information
is distilled from the URL.xmldbURL
- Document location in database.os
- Stream to which the document is written.
- Throws:
IOException
Copyright (C) Wolfgang Meier. All rights reserved.