org.exist.protocolhandler.xmlrpc
Class XmlrpcDownload

java.lang.Object
  extended by org.exist.protocolhandler.xmlrpc.XmlrpcDownload

public class XmlrpcDownload
extends Object

Read document from using XMLRPC from remote database and write the data into an output stream.

Author:
Dannes Wessels

Constructor Summary
XmlrpcDownload()
           
 
Method Summary
 void stream(XmldbURL xmldbURL, OutputStream os)
          Write document referred by the URL to the output stream.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlrpcDownload

public XmlrpcDownload()
Method Detail

stream

public void stream(XmldbURL xmldbURL,
                   OutputStream os)
            throws IOException
Write document referred by the URL to the output stream.

Parameters:
xmldbURL - Document location in database.
os - Stream to which the document is written.
Throws:
ExistIOException
IOException


Copyright (C) Wolfgang Meier. All rights reserved.