Reading a .bz2 file with XML tools

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
tty
Reply | Threaded
Open this post in threaded view
|

Reading a .bz2 file with XML tools

tty
Hi all.

In Java land, they can wrap readers ...roughly speaking an XMLReaderWriter
wraps a BZ2ReaderWriter and the XML tools can read/write to the .bz2 file
just like a regular file.

Is there a similar mechanism in Squeak?

thank you for your time



--
Sent from: http://forum.world.st/Squeak-Beginners-f107673.html
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Reading a .bz2 file with XML tools

marcel.taeumel
Hi, there.

Hmm... I don't think so.

Looking and some *ReadWriter classes in Squeak, this might work if those provide a stream protocol. #nextPut: etc. If so, you could put a *ReadWriter where a stream is expected. Not sure. :-)

Best,
Marcel

Am 13.05.2020 23:02:51 schrieb tty <[hidden email]>:

Hi all.

In Java land, they can wrap readers ...roughly speaking an XMLReaderWriter
wraps a BZ2ReaderWriter and the XML tools can read/write to the .bz2 file
just like a regular file.

Is there a similar mechanism in Squeak?

thank you for your time



--
Sent from: http://forum.world.st/Squeak-Beginners-f107673.html
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners