|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
com.basho.riak.client.util.BranchableInputStream
WARNING: This class will be REMOVED in the next version.
@Deprecated public class BranchableInputStream
An input stream that can be branched into other InputStreams, each maintaining its own location, with the main read() method always returning bytes from the farthest advanced branch.
BranchableInputStream
Constructor Summary | |
---|---|
BranchableInputStream(InputStream in)
Deprecated. |
|
BranchableInputStream(InputStream in,
int initialBufferSize)
Deprecated. |
Method Summary | |
---|---|
InputStream |
branch()
Deprecated. |
void |
close()
Deprecated. |
int |
peek()
Deprecated. |
int |
read()
Deprecated. |
Methods inherited from class java.io.InputStream |
---|
available, mark, markSupported, read, read, reset, skip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BranchableInputStream(InputStream in)
public BranchableInputStream(InputStream in, int initialBufferSize)
Method Detail |
---|
public int read() throws IOException
read
in class InputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in class InputStream
IOException
public int peek() throws IOException
IOException
public InputStream branch()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |