org.nutz.lang.stream
类 StringInputStream

java.lang.Object
  继承者 java.io.InputStream
      继承者 org.nutz.lang.stream.StringInputStream
所有已实现的接口:
java.io.Closeable

public class StringInputStream
extends java.io.InputStream


构造方法摘要
StringInputStream(java.lang.CharSequence s)
           
StringInputStream(java.lang.CharSequence s, java.lang.String charset)
           
 
方法摘要
 int available()
           
 boolean markSupported()
           
 int read()
           
 long skip(long n)
           
 
从类 java.io.InputStream 继承的方法
close, mark, read, read, reset
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

StringInputStream

public StringInputStream(java.lang.CharSequence s,
                         java.lang.String charset)

StringInputStream

public StringInputStream(java.lang.CharSequence s)
方法详细信息

markSupported

public boolean markSupported()
覆盖:
java.io.InputStream 中的 markSupported

read

public int read()
         throws java.io.IOException
指定者:
java.io.InputStream 中的 read
抛出:
java.io.IOException

available

public int available()
              throws java.io.IOException
覆盖:
java.io.InputStream 中的 available
抛出:
java.io.IOException

skip

public long skip(long n)
          throws java.io.IOException
覆盖:
java.io.InputStream 中的 skip
抛出:
java.io.IOException