类 UnsafeStringReader
- java.lang.Object
-
- java.io.Reader
-
- com.alibaba.dubbo.common.io.UnsafeStringReader
-
- 所有已实现的接口:
Closeable,AutoCloseable,Readable
public class UnsafeStringReader extends Reader
Thread-unsafe StringReader.
-
-
构造器概要
构造器 构造器 说明 UnsafeStringReader(String str)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidclose()voidmark(int readAheadLimit)booleanmarkSupported()intread()intread(char[] cs, int off, int len)booleanready()voidreset()longskip(long ns)-
从类继承的方法 java.io.Reader
nullReader, read, read, transferTo
-
-
-
-
构造器详细资料
-
UnsafeStringReader
public UnsafeStringReader(String str)
-
-
方法详细资料
-
read
public int read() throws IOException- 覆盖:
read在类中Reader- 抛出:
IOException
-
read
public int read(char[] cs, int off, int len) throws IOException- 指定者:
read在类中Reader- 抛出:
IOException
-
skip
public long skip(long ns) throws IOException- 覆盖:
skip在类中Reader- 抛出:
IOException
-
ready
public boolean ready() throws IOException- 覆盖:
ready在类中Reader- 抛出:
IOException
-
markSupported
public boolean markSupported()
- 覆盖:
markSupported在类中Reader
-
mark
public void mark(int readAheadLimit) throws IOException- 覆盖:
mark在类中Reader- 抛出:
IOException
-
reset
public void reset() throws IOException- 覆盖:
reset在类中Reader- 抛出:
IOException
-
close
public void close() throws IOException- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Closeable- 指定者:
close在类中Reader- 抛出:
IOException
-
-