Stuff your readers content in an array and open an InputStream with the
array...(ByteArrayInputStream takes an array as a constructor)  You have to
play around with it though, since it could be that it needs some conversion
of some sort to corrrectly end up in the inputstream..

Mvgr,
Martin

> -----Original Message-----
> From: Lauer, Oliver [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 24, 2002 13:19
> To: 'Tomcat Users List'
> Subject: AW: READER to InputStream
>
>
> No, I've a Reader and need an InputStream, sounds silly but the API needs
> so...:-(
>
> > AXA eSolutions GmbH
> > AXA Konzern AG Germany
> > Oliver Lauer
> > Web Architect
> > Wörthstraße 34
> > D-50668 Köln
> > Germany
> > Tel.: +49 221 148 31277
> > Fax: +49 221 148 43963
> > Mobil: +49 179 59 064 59
> > e-Mail: [EMAIL PROTECTED]
> > _____________________________
> >
>
>
> -----Ursprüngliche Nachricht-----
> Von: Walter De Wit [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 24. Januar 2002 13:09
> An: 'Tomcat Users List'
> Betreff: RE: READER to InputStream
>
>
> You need a Reader object pointing to an InputStream ?
>
> Reader r=new java.io.InputStreamReader(myInputStream);
>
> is it that what you want ?
>
> -----Original Message-----
> From: Lauer, Oliver [mailto:[EMAIL PROTECTED]]
> Sent: donderdag 24 januari 2002 13:05
> To: Tomcat Users List (E-Mail)
> Subject: READER to InputStream
>
>
> I know I'm a looser but can anybody tell me quickly how I can get a Reader
> to an InputStream.
> I've searched for quite a while but I didn't find anything yet !
> PLEASE & Thanx
> Oliver
>
>
> > AXA eSolutions GmbH
> > AXA Konzern AG Germany
> > Oliver Lauer
> > Web Architect
> > Wörthstraße 34
> > D-50668 Köln
> > Germany
> > Tel.: +49 221 148 31277
> > Fax: +49 221 148 43963
> > Mobil: +49 179 59 064 59
> > e-Mail: [EMAIL PROTECTED]
> > _____________________________
> >
> >
>
> ------------------------------------------------------------------
> ----------
> --
> Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene
> Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung
> reichen wir Ihnen gerne auf Anforderung in schriftlicher Form
> nach. Beachten
> Sie bitte, dass jede Form der unautorisierten Nutzung, Veroeffentlichung,
> Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail nicht
> gestattet
> ist.Diese Nachricht  ist ausschliesslich fuer den bezeichneten Adressaten
> oder dessen Vertreter bestimmt. Sollten Sie nicht der vorgesehene Adressat
> dieser E-Mail oder dessen Vertreter sein, so bitten wir Sie, sich mit dem
> Absender der E-Mail in Verbindung zu setzen.
> ----------------------------
> For legal and security reasons the information provided in this e-mail is
> not legally binding. Upon request we would be pleased to provide
> you with a
> legally binding confirmation in written form. Any form of
> unauthorised use,
> publication, reproduction, copying or disclosure of the content of this
> e-mail is not permitted. This message is exclusively for the person
> addressed or their representative. If you are not the intended
> recipient of
> this message and its contents, please notify the sender immediately.
>
> ==================================================================
> ==========
> ==
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>
> ------------------------------------------------------------------
> ------------
> Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail
> gegebene Information nicht rechtsverbindlich. Eine
> rechtsverbindliche Bestaetigung reichen wir Ihnen gerne auf
> Anforderung in schriftlicher Form nach. Beachten Sie bitte, dass
> jede Form der unautorisierten Nutzung, Veroeffentlichung,
> Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail nicht
> gestattet ist.Diese Nachricht  ist ausschliesslich fuer den
> bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten
> Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen
> Vertreter sein, so bitten wir Sie, sich mit dem Absender der
> E-Mail in Verbindung zu setzen.
> ----------------------------
> For legal and security reasons the information provided in this
> e-mail is not legally binding. Upon request we would be pleased
> to provide you with a legally binding confirmation in written
> form. Any form of unauthorised use, publication, reproduction,
> copying or disclosure of the content of this e-mail is not
> permitted. This message is exclusively for the person addressed
> or their representative. If you are not the intended recipient of
> this message and its contents, please notify the sender immediately.
>
> ==================================================================
> ============
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to