redis.clients.util
Class RedisInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
redis.clients.util.RedisInputStream
- All Implemented Interfaces:
- java.io.Closeable
public class RedisInputStream
- extends java.io.FilterInputStream
Field Summary |
protected byte[] |
buf
|
protected int |
count
|
protected int |
limit
|
Fields inherited from class java.io.FilterInputStream |
in |
Methods inherited from class java.io.FilterInputStream |
available, close, mark, markSupported, read, read, reset, skip |
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(java.io.InputStream in,
int size)
RedisInputStream
public RedisInputStream(java.io.InputStream in)
readByte
public byte readByte()
throws java.io.IOException
- Throws:
java.io.IOException
readLine
public java.lang.String readLine()
read
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
- Overrides:
read
in class java.io.FilterInputStream
- Throws:
java.io.IOException
Copyright © 2010. All Rights Reserved.