- java.lang.Object
-
- java.io.Reader
-
- java.io.InputStreamReader
-
- java.io.FileReader
-
- cn.mcres.karlatemp.mxlib.util.WrappedFileReader
-
- 所有已实现的接口:
Closeable,AutoCloseable,Readable
public class WrappedFileReader extends FileReader
-
-
构造器概要
构造器 构造器 说明 WrappedFileReader(@NotNull Reader reader)
-
方法概要
修饰符和类型 方法 说明 voidclose()voidmark(int readAheadLimit)booleanmarkSupported()intread()intread(@org.jetbrains.annotations.NotNull char[] cbuf)intread(@org.jetbrains.annotations.NotNull char[] cbuf, int offset, int length)intread(@NotNull CharBuffer target)booleanready()voidreset()longskip(long n)longtransferTo(Writer out)-
从类继承的方法 java.io.InputStreamReader
getEncoding
-
从类继承的方法 java.io.Reader
nullReader
-
-
-
-
构造器详细资料
-
WrappedFileReader
public WrappedFileReader(@NotNull @NotNull Reader reader)
-
-
方法详细资料
-
reset
public void reset() throws IOException- 覆盖:
reset在类中Reader- 抛出:
IOException
-
read
public int read() throws IOException- 覆盖:
read在类中InputStreamReader- 抛出:
IOException
-
read
public int read(@NotNull @org.jetbrains.annotations.NotNull char[] cbuf) throws IOException- 覆盖:
read在类中Reader- 抛出:
IOException
-
read
public int read(@NotNull @NotNull CharBuffer target) throws IOException- 指定者:
read在接口中Readable- 覆盖:
read在类中Reader- 抛出:
IOException
-
ready
public boolean ready() throws IOException- 覆盖:
ready在类中InputStreamReader- 抛出:
IOException
-
mark
public void mark(int readAheadLimit) throws IOException- 覆盖:
mark在类中Reader- 抛出:
IOException
-
read
public int read(@NotNull @org.jetbrains.annotations.NotNull char[] cbuf, int offset, int length) throws IOException- 覆盖:
read在类中InputStreamReader- 抛出:
IOException
-
transferTo
public long transferTo(Writer out) throws IOException
- 覆盖:
transferTo在类中Reader- 抛出:
IOException
-
skip
public long skip(long n) throws IOException- 覆盖:
skip在类中Reader- 抛出:
IOException
-
markSupported
public boolean markSupported()
- 覆盖:
markSupported在类中Reader
-
close
public void close() throws IOException- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Closeable- 覆盖:
close在类中InputStreamReader- 抛出:
IOException
-
-