public class SafeQueuedStream extends QueuedStream
SafeQueuedStream
will return -1 w/o throwing IOException
)TruncatingSafeQueuedStream
QueuedStream.QueuedInputStream, QueuedStream.QueuedOutputStream
Constructor and Description |
---|
SafeQueuedStream() |
Modifier and Type | Method and Description |
---|---|
int |
read() |
getInputStream, getOutputStream, ready, write
public int read() throws java.io.IOException
read
in class QueuedStream
java.io.IOException