OTECTED]'
> Betreff: AW: AW: CONT: Streaming large data in and out
>
>
> Here is the constructor:
>
> -
> /**
> * Create a datasource from an input stream.
> *
> * @param is InputStream
> * @param type Content-Type
>
aSource, that reads from an InputStream,
tell me! I think we could also need something like that.
Christian
> -Ursprüngliche Nachricht-
> Von: Alain K [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 5. März 2002 14:28
> An: Beer, Christian; [EMAIL PROTECTED]
> Betreff: Re: AW
Thanks. So you're saying there no way to avoid loading
the attachement into memory ?
Thanks for your help. We have potentially 10MB or
larger file to exchange between java application so
this question is crucial.
Again thank you.
Alain.
--- "Beer, Christian" <[EMAIL PROTECTED]> a écrit : > Hi
The ByteArrayDataSource that can be used to create an
Attachment has the following constructors:
ByteArrayDataSource(byte[] data, java.lang.String type)
ByteArrayDataSource(java.io.File f,
java.lang.String type)
ByteArrayDataSource(java.io.InputStream is,