Top Description Fields Constructors Methods
com.sun.star.lib.uno.adapter

public final Class InputStreamToXInputStreamAdapter

extends Object
implements com.sun.star.io.XInputStream
Class Inheritance
Imports
java.io.IOException, .InputStream, com.sun.star.io.XInputStream

The InputStreamToInputXStreamAdapter wraps the Java InputStream object into a UNO XInputStream object. This allows users to access an InputStream as if it were an XInputStream.

Field Summary

Modifier and TypeField and Description
private final InputStream
iIn

Internal store to the InputStream

Constructor Summary

AccessConstructor and Description
public
InputStreamToXInputStreamAdapter(InputStream
The XInputStream to be accessed as an InputStream.
in
)

Constructor.

Method Summary

Modifier and TypeMethod and Description
public int
public void
public int
readBytes(byte[][] b, int len)

public int
readSomeBytes(byte[][] b, int len)

public void
skipBytes(int n)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

iInback to summary
private final InputStream iIn

Internal store to the InputStream

Constructor Detail

InputStreamToXInputStreamAdapterback to summary
public InputStreamToXInputStreamAdapter(InputStream in)

Constructor.

Parameters
in:InputStream

The XInputStream to be accessed as an InputStream.

Method Detail

availableback to summary
public int available() throws com.sun.star.io.IOException
closeInputback to summary
public void closeInput() throws com.sun.star.io.IOException
readBytesback to summary
public int readBytes(byte[][] b, int len) throws com.sun.star.io.IOException
readSomeBytesback to summary
public int readSomeBytes(byte[][] b, int len) throws com.sun.star.io.IOException
skipBytesback to summary
public void skipBytes(int n) throws com.sun.star.io.IOException