Re: [JAVA3D] xj3d java.io.Reader again

2003-07-28 Thread Christian Schnabl
Hi there! Here is an excerpt from my code. I'm working with a server/client pair. the server gets all the necessary information and data from the database on request from the client. then the vrml file should be sent right through the stream to the client which has to work as an applet. The pro

Re: [JAVA3D] xj3d java.io.Reader again

2003-07-25 Thread Alan Hudson
Christian Schnabl wrote: Thanks for the example ;-) But its not solving the problem at all. if i pass a filereader to the load() method it works fine, but only because the reader only includes the files path and not the file itself. what i'm trying to do is pass the file as a reader which actua

Re: [JAVA3D] xj3d java.io.Reader again

2003-07-25 Thread Christian Schnabl
Thanks for the example ;-) But its not solving the problem at all. if i pass a filereader to the load() method it works fine, but only because the reader only includes the files path and not the file itself. what i'm trying to do is pass the file as a reader which actually includes the file. i

Re: [JAVA3D] xj3d java.io.Reader again

2003-07-25 Thread Alan Hudson
Christian Schnabl wrote: The biggest problem is, that i don't know how to use the load(java.io.Reader) in the right way. do i have to pass it as a bitstream or object or whatever? nothing worked so far or maybe i am to dump. if you could give a short example, that would be really great ;-) than

Re: [JAVA3D] xj3d java.io.Reader again

2003-07-25 Thread Christian Schnabl
The biggest problem is, that i don't know how to use the load(java.io.Reader) in the right way. do i have to pass it as a bitstream or object or whatever? nothing worked so far or maybe i am to dump. if you could give a short example, that would be really great ;-) thanks, chris ===

Re: [JAVA3D] xj3d java.io.Reader again

2003-07-25 Thread Justin Couch
Christian Schnabl wrote: I know that i have to pass the base url to the loader, but what i can't manage is the form the data should be in the stream the reader works on. the usual exception i get is : #vrml header not found. So my question is: That is probably because you have a non spec-complian

[JAVA3D] xj3d java.io.Reader again

2003-07-25 Thread Christian Schnabl
Hello, might be a quite simple but still can't figure it out. i have still problems loading a vrml file via the load(java.io.Reader). I know that i have to pass the base url to the loader, but what i can't manage is the form the data should be in the stream the reader works on. the usual exceptio