XmlManager::createLocalFileInputStream |
![]() ![]() |
#include <DbXml.hpp>XmlInputStream *XmlManager::createLocalFileInputStream( const std::string &filename) const
Returns a XmlInputStream to the file filename. Use this input stream with XmlContainer::putDocument or XmlDocument::setContentAsXmlInputStream.
If the input stream is passed to either of these methods, it will be adopted, and deleted. If it is not passed, it is the responsibility of the user to delete the object. Note that there is no attempt to ensure that the file referenced contains well-formed or valid XML. Exceptions may be thrown at the time that this input stream is actually read if the stream does not contain well-formed, or valid XML.
Parameters
![]() ![]() |
Copyright (c) 1996-2009 Oracle. All rights reserved.