On 6/22/13 8:11 AM, Rajath Shashidhara wrote:
Hello,
I wanted to convert an XInputStream into java.io.InputStream.
I found this on the mail archive.
http://markmail.org/message/fo2txhbgxu3ksnct
This is a very old mail.
So, just asking if such a conversion api has been defined now.
What
Hello,
I wanted to convert an XInputStream into java.io.InputStream.
I found this on the mail archive.
http://markmail.org/message/fo2txhbgxu3ksnct
This is a very old mail.
So, just asking if such a conversion api has been defined now.
What is the best way to do this conversion?
--
Rajath S
Hello,
The methods readBytes and readSomeBytes have an argument Byte[][] .
But shouldn't it be Byte[] ? because java.io.InputStream reads to a byte[]?
What is the point of having a byte [][]?
This example also suggests this:
http://forum.openoffice.org/en/forum/viewtopic.php?t=3801
They copy
Hello,
Also in the file XInputStream implementation,
readSomeBytes() implementation just calls readBytes() method.
Code:
sal_Int32 SAL_CALL
XInputStream_impl::readSomeBytes(
uno::Sequence sal_Int8 aData,
sal_Int32 nMaxBytesToRead )
throw( io::NotConnectedException,
io
On 6/18/13 5:04 PM, Rajath Shashidhara wrote:
Hello,
Also in the file XInputStream implementation,
readSomeBytes() implementation just calls readBytes() method.
Code:
sal_Int32 SAL_CALL
XInputStream_impl::readSomeBytes(
uno::Sequence sal_Int8 aData,
sal_Int32 nMaxBytesToRead