| java.lang.Object java.io.InputStream com.sun.midp.io.j2me.irdaobex.IrNativeInputStream
IrNativeInputStream | class IrNativeInputStream extends InputStream (Code) | | Provides the input stream implementation for the IrNativeConnection class.
It simply forwards read() requests to its holder instance.
|
Method Summary | |
public int | read() Defines an abstract method of the interface. | public int | read(byte[] b, int off, int len) Reads a number of bytes to the specified byte array starting from the
given offset. |
IrNativeInputStream | public IrNativeInputStream(IrNativeConnection conn)(Code) | | Class constructor.
Parameters: conn - holder of this instance. |
read | public int read() throws IOException(Code) | | Defines an abstract method of the interface. This method is not
supposed to be used.
this method does not return any value throws: RuntimeException - on invocation |
read | public int read(byte[] b, int off, int len) throws IOException(Code) | | Reads a number of bytes to the specified byte array starting from the
given offset. This method simply forwards the request to the owner
IrNativeConnection instance.
Parameters: b - destination byte array Parameters: off - offset in the array Parameters: len - number of bytes to read number of bytes actually read throws: IOException - if an I/O error occurs |
|
|