public final class RedisOutputStream extends FilterOutputStream
| Constructor and Description |
|---|
RedisOutputStream(OutputStream out) |
RedisOutputStream(OutputStream out,
int size) |
| Modifier and Type | Method and Description |
|---|---|
void |
flush() |
static boolean |
isSurrogate(char ch) |
static int |
utf8Length(String str) |
void |
write(byte b) |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
writeAsciiCrLf(String in) |
void |
writeCrLf() |
void |
writeIntCrLf(int value) |
void |
writeUtf8CrLf(String str) |
close, writepublic RedisOutputStream(OutputStream out)
public RedisOutputStream(OutputStream out, int size)
public void write(byte b)
throws IOException
IOExceptionpublic void write(byte[] b)
throws IOException
write in class FilterOutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class FilterOutputStreamIOExceptionpublic void writeAsciiCrLf(String in) throws IOException
IOExceptionpublic static boolean isSurrogate(char ch)
public static int utf8Length(String str)
public void writeCrLf()
throws IOException
IOExceptionpublic void writeUtf8CrLf(String str) throws IOException
IOExceptionpublic void writeIntCrLf(int value)
throws IOException
IOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class FilterOutputStreamIOExceptionProcessing library Redis by Darius Morawiec. (c) 2015