com.alisoft.xplatform.asf.cache.memcached.client
接口 LineInputStream

所有已知实现类:
ByteBufArrayInputStream

public interface LineInputStream


方法摘要
 void clearEOL()
          Read everything up to and including the end of line.
 int read(byte[] buf)
          Read some bytes.
 java.lang.String readLine()
          Read everything up to the next end-of-line.
 

方法详细信息

readLine

java.lang.String readLine()
                          throws java.io.IOException
Read everything up to the next end-of-line. Does not include the end of line, though it is consumed from the input.

返回:
All next up to the next end of line.
抛出:
java.io.IOException

clearEOL

void clearEOL()
              throws java.io.IOException
Read everything up to and including the end of line.

抛出:
java.io.IOException

read

int read(byte[] buf)
         throws java.io.IOException
Read some bytes.

参数:
buf - The buffer into which read.
返回:
The number of bytes actually read, or -1 if none could be read.
抛出:
java.io.IOException


Copyright © 2009 . All Rights Reserved.