- 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)
-
方法概要
修饰符和类型 方法 说明 void
close()
void
mark(int readAheadLimit)
boolean
markSupported()
int
read()
int
read(@org.jetbrains.annotations.NotNull char[] cbuf)
int
read(@org.jetbrains.annotations.NotNull char[] cbuf, int offset, int length)
int
read(@NotNull CharBuffer target)
boolean
ready()
void
reset()
long
skip(long n)
long
transferTo(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
-
-