Re: [bdbxml] XMLInputStreams and regular InputStreams and w3c DOM objects.
Ingo Lütkebohle <[email protected]> Sun, 25 Sep 2005 12:24:50 +0200
| Newsgroups | gmane.comp.db.dbxml.general |
|---|---|
| Message-ID | <[email protected]> |
I've never tested it in Java but in C++, you can easily subclass XmlInputStream and implement custom I/O. Implementing the Interface on top of a regular Java InputStream should be possible, too. On 9/25/05, Mark R. Diggory <mdiggory-Mahy8Y1M33PaZwrp7/[email protected]> wrote: > > I'm looking to see if there is a way that I can take a pre-existing > java.io.InputStream in Java and place its contents in bdbxml. I > understand that I can create "XMLInputStreams" to the Database, but > these are not true InputStreams. Its clear that there is no capability > to Stream my content directly through the Java API (that the Java API is > just providing handles on the native streams, but no access to them) > unless I've missed something. > > Is there any way I can read my java.io.InputStream into the db without > putting all the contents in a String or tmp file? > > -Mark > > > ------------------------------------------ > To remove yourself from this list, send an > email to [email protected] > >