- java.lang.Object
-
- java.io.Reader
-
- cn.mcres.karlatemp.mxlib.tools.UnclosedReader
-
- 所有已实现的接口:
Closeable,AutoCloseable,Readable
public class UnclosedReader extends Reader
A reader removed close()- 从以下版本开始:
- 2.12
-
-
构造器概要
构造器 构造器 说明 UnclosedReader(Reader reader)
-
方法概要
修饰符和类型 方法 说明 voidclose()voidmark(int readAheadLimit)booleanmarkSupported()intread()intread(@org.jetbrains.annotations.NotNull char[] cbuf)intread(@org.jetbrains.annotations.NotNull char[] cbuf, int off, int len)intread(@NotNull CharBuffer target)booleanready()voidreset()longskip(long n)longtransferTo(Writer out)-
从类继承的方法 java.io.Reader
nullReader
-
-
-
-
构造器详细资料
-
UnclosedReader
public UnclosedReader(Reader reader)
-
-
方法详细资料
-
read
public int read(@NotNull @NotNull CharBuffer target) throws IOException- 指定者:
read在接口中Readable- 覆盖:
read在类中Reader- 抛出:
IOException
-
read
public int read() throws IOException- 覆盖:
read在类中Reader- 抛出:
IOException
-
read
public int read(@NotNull @org.jetbrains.annotations.NotNull char[] cbuf) throws IOException- 覆盖:
read在类中Reader- 抛出:
IOException
-
read
public int read(@NotNull @org.jetbrains.annotations.NotNull char[] cbuf, int off, int len) throws IOException- 指定者:
read在类中Reader- 抛出:
IOException
-
skip
public long skip(long n) 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
-
transferTo
public long transferTo(Writer out) throws IOException
- 覆盖:
transferTo在类中Reader- 抛出:
IOException
-
close
public void close() throws IOException- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Closeable- 指定者:
close在类中Reader- 抛出:
IOException
-
-