redis.clients.util
Class RedisInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
redis.clients.util.RedisInputStream
- All Implemented Interfaces:
- Closeable
public class RedisInputStream
- extends FilterInputStream
Field Summary |
protected byte[] |
buf
|
protected int |
count
|
protected int |
limit
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buf
protected final byte[] buf
count
protected int count
limit
protected int limit
RedisInputStream
public RedisInputStream(InputStream in,
int size)
RedisInputStream
public RedisInputStream(InputStream in)
readByte
public byte readByte()
throws IOException
- Throws:
IOException
readLine
public String readLine()
read
public int read(byte[] b,
int off,
int len)
throws IOException
- Overrides:
read
in class FilterInputStream
- Throws:
IOException
Copyright © 2012. All Rights Reserved.