class TimeoutPipedInputStream
extends java.io.PipedInputStream
コンストラクタ | 説明 |
---|---|
TimeoutPipedInputStream(int pipeSize) |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
void |
close() |
Overridden to save state.
|
int |
read() |
|
void |
setReadTimeout(int ms) |
Must be called before blocking read call.
|
(package private) void |
x_receivedLast() |
To save state.
|
mark, markSupported, read, readAllBytes, readNBytes, reset, skip, transferTo
public int read() throws java.io.IOException
read
クラス内 java.io.PipedInputStream
java.net.SocketTimeoutException
- if timeout is reachedjava.io.IOException
public void setReadTimeout(int ms)
ms
- less than or equal to zero means forevervoid x_receivedLast()
public void close() throws java.io.IOException
close
クラス内 java.io.PipedInputStream
java.io.IOException