This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: KAWA ports and Java output streams
- From: Per Bothner <per at bothner dot com>
- To: Chris Bitmead <chris at bitmead dot com>
- Cc: kawa <kawa at sources dot redhat dot com>
- Date: Sun, 23 Jun 2002 07:51:57 -0700
- Subject: Re: KAWA ports and Java output streams
- References: <3D1325E6.6040302@bitmead.com>
Chris Bitmead wrote:
How can I have a Kawa port and pass the underlying Writer or
OutputStream to a Java function??
A Kawa OutPort *is* a Writer, so you can pass it to any Java
method that takes a Writer.
Or do you meean you need to pass the Writer/OutputStream that
was used to ocnstruct the OutPort? If so, why?
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/