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
从类 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