XmlContainer.load |
![]() ![]() |
import com.sleepycat.dbxml.*;public void load(String filename, int flags) throws XmlException;
The XmlContainer.load methods loads data from the specified stream into the container. The container's existing contents are discarded and replaced with the documents from the stream.
The container must be closed; the system throws an exception if the container is open.
The container must be have been opened at least once; the system throws an exception if the underlying files have not yet been created.
The XmlContainer.load method may fail and throw XmlException, encapsulating one of the following non-zero errors:
![]() ![]() |
Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.