org.eclipse.jetty.util
类 ReadLineInputStream

java.lang.Object
  继承者 java.io.InputStream
      继承者 java.io.FilterInputStream
          继承者 java.io.BufferedInputStream
              继承者 org.eclipse.jetty.util.ReadLineInputStream
所有已实现的接口:
Closeable

public class ReadLineInputStream
extends BufferedInputStream

ReadLineInputStream Read from an input stream, accepting CR/LF, LF or just CR.


字段摘要
 
从类 java.io.BufferedInputStream 继承的字段
buf, count, marklimit, markpos, pos
 
从类 java.io.FilterInputStream 继承的字段
in
 
构造方法摘要
ReadLineInputStream(InputStream in)
           
ReadLineInputStream(InputStream in, int size)
           
 
方法摘要
 int read()
           
 int read(byte[] buf, int off, int len)
           
 String readLine()
           
 
从类 java.io.BufferedInputStream 继承的方法
available, close, mark, markSupported, reset, skip
 
从类 java.io.FilterInputStream 继承的方法
read
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ReadLineInputStream

public ReadLineInputStream(InputStream in)

ReadLineInputStream

public ReadLineInputStream(InputStream in,
                           int size)
方法详细信息

readLine

public String readLine()
                throws IOException
抛出:
IOException

read

public int read()
         throws IOException
覆盖:
BufferedInputStream 中的 read
抛出:
IOException

read

public int read(byte[] buf,
                int off,
                int len)
         throws IOException
覆盖:
BufferedInputStream 中的 read
抛出:
IOException


Copyright © 2013. All Rights Reserved.