org.purplejrank.jdk
public class JdkJrankInputStream extends PullInputStream
InputStream that converts a JDK object stream to a Jrank object stream| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
bbuf |
protected ByteArrayOutputStream |
bout |
protected JdkStream |
jdk |
protected int |
pos |
buf| Constructor and Description |
|---|
JdkJrankInputStream(InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
pull() |
protected void |
pull(Block b)
Buffer a
Block |
read, readavailable, close, mark, markSupported, read, reset, skipprotected ByteArrayOutputStream bout
protected JdkStream jdk
protected byte[] bbuf
protected int pos
public JdkJrankInputStream(InputStream in) throws IOException
IOExceptionprotected void pull(Block b) throws IOException
Blockb - IOExceptionprotected int pull()
throws IOException
pull in class PullInputStreamIOExceptionCopyright © 2014. All rights reserved.