| java.lang.Object | ||
| ↳ | java.io.InputStream | |
| ↳ | sun.rmi.log.LogInputStream | |
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a log input file with the specified system dependent
file descriptor.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the number of bytes that can be read without blocking.
| |||||||||||
Closes the input stream.
| |||||||||||
Reads data into an array of bytes.
| |||||||||||
Reads a byte of data.
| |||||||||||
Reads data into an array of bytes.
| |||||||||||
Skips n bytes of input.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Closes the stream when garbage is collected.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.io.InputStream
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.io.Closeable
| |||||||||||
Creates a log input file with the specified system dependent file descriptor.
| length | the total number of bytes allowed to be read |
|---|
| IOException | If an I/O error has occurred. |
|---|
Returns the number of bytes that can be read without blocking.
| IOException |
|---|
Closes the input stream. No further input can be read. the stream.
Reads data into an array of bytes. This method blocks until some input is available.
| b | the buffer into which the data is read |
|---|
| IOException | If an I/O error has occurred. |
|---|
Reads a byte of data. This method will block if no input is available.
| IOException | If an I/O error has occurred. |
|---|
Reads data into an array of bytes. This method blocks until some input is available.
| b | the buffer into which the data is read |
|---|---|
| off | the start offset of the data |
| len | the maximum number of bytes read |
| IOException | If an I/O error has occurred. |
|---|
Skips n bytes of input.
| n | the number of bytes to be skipped |
|---|
| IOException | If an I/O error has occurred. |
|---|