public class InputStreamToXInputStreamAdapter
extends java.lang.Object
InputStreamToInputXStreamAdapter
wraps the
Java InputStream
object into a
UNO XInputStream
object.
This allows users to access an InputStream
as if it were an XInputStream
.Constructor and Description |
---|
InputStreamToXInputStreamAdapter(java.io.InputStream in)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
closeInput() |
int |
readBytes(byte[][] b,
int len) |
int |
readSomeBytes(byte[][] b,
int len) |
void |
skipBytes(int n) |
public InputStreamToXInputStreamAdapter(java.io.InputStream in)
in
- The XInputStream
to be
accessed as an InputStream
.public int available() throws com.sun.star.io.IOException
com.sun.star.io.IOException
public void closeInput() throws com.sun.star.io.IOException
com.sun.star.io.IOException
public int readBytes(byte[][] b, int len) throws com.sun.star.io.IOException
com.sun.star.io.IOException
public int readSomeBytes(byte[][] b, int len) throws com.sun.star.io.IOException
com.sun.star.io.IOException
public void skipBytes(int n) throws com.sun.star.io.IOException
com.sun.star.io.IOException