com.alisoft.xplatform.asf.cache.memcached.client
类 ByteBufArrayInputStream
java.lang.Object
java.io.InputStream
com.alisoft.xplatform.asf.cache.memcached.client.ByteBufArrayInputStream
- 所有已实现的接口:
- LineInputStream, java.io.Closeable
public final class ByteBufArrayInputStream
- extends java.io.InputStream
- implements LineInputStream
|
方法摘要 |
void |
clearEOL()
Read everything up to and including the end of line. |
int |
read()
|
int |
read(byte[] buf)
Read some bytes. |
java.lang.String |
readLine()
Read everything up to the next end-of-line. |
java.lang.String |
toString()
|
| 从类 java.io.InputStream 继承的方法 |
available, close, mark, markSupported, read, reset, skip |
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ByteBufArrayInputStream
public ByteBufArrayInputStream(java.util.List<java.nio.ByteBuffer> bufs)
throws java.lang.Exception
- 抛出:
java.lang.Exception
ByteBufArrayInputStream
public ByteBufArrayInputStream(java.nio.ByteBuffer[] bufs)
throws java.lang.Exception
- 抛出:
java.lang.Exception
read
public int read()
- 指定者:
- 类
java.io.InputStream 中的 read
read
public int read(byte[] buf)
- 从接口
LineInputStream 复制的描述
- Read some bytes.
- 指定者:
- 接口
LineInputStream 中的 read - 覆盖:
- 类
java.io.InputStream 中的 read
- 参数:
buf - The buffer into which read.
- 返回:
- The number of bytes actually read, or -1 if none could be read.
readLine
public java.lang.String readLine()
throws java.io.IOException
- 从接口
LineInputStream 复制的描述
- Read everything up to the next end-of-line. Does
not include the end of line, though it is consumed
from the input.
- 指定者:
- 接口
LineInputStream 中的 readLine
- 返回:
- All next up to the next end of line.
- 抛出:
java.io.IOException
clearEOL
public void clearEOL()
throws java.io.IOException
- 从接口
LineInputStream 复制的描述
- Read everything up to and including the end of line.
- 指定者:
- 接口
LineInputStream 中的 clearEOL
- 抛出:
java.io.IOException
toString
public java.lang.String toString()
- 覆盖:
- 类
java.lang.Object 中的 toString
Copyright © 2009 . All Rights Reserved.