- java.lang.Object
-
- java.io.InputStream
-
- java.io.FileInputStream
-
- cn.mcres.karlatemp.mxlib.util.WrappedFileInputStream
-
- 所有已实现的接口:
Closeable,AutoCloseable
public class WrappedFileInputStream extends FileInputStream
-
-
构造器概要
构造器 构造器 说明 WrappedFileInputStream(@NotNull InputStream input)
-
方法概要
修饰符和类型 方法 说明 intavailable()voidclose()voidmark(int readlimit)booleanmarkSupported()intread()intread(@org.jetbrains.annotations.NotNull byte[] b)intread(@org.jetbrains.annotations.NotNull byte[] b, int off, int len)byte[]readAllBytes()intreadNBytes(byte[] b, int off, int len)byte[]readNBytes(int len)voidreset()longskip(long n)voidskipNBytes(long n)longtransferTo(OutputStream out)-
从类继承的方法 java.io.FileInputStream
getChannel, getFD
-
从类继承的方法 java.io.InputStream
nullInputStream
-
-
-
-
构造器详细资料
-
WrappedFileInputStream
public WrappedFileInputStream(@NotNull @NotNull InputStream input)
-
-
方法详细资料
-
readAllBytes
public byte[] readAllBytes() throws IOException- 覆盖:
readAllBytes在类中InputStream- 抛出:
IOException
-
readNBytes
public byte[] readNBytes(int len) throws IOException- 覆盖:
readNBytes在类中InputStream- 抛出:
IOException
-
read
public int read() throws IOException- 覆盖:
read在类中FileInputStream- 抛出:
IOException
-
read
public int read(@NotNull @org.jetbrains.annotations.NotNull byte[] b) throws IOException- 覆盖:
read在类中FileInputStream- 抛出:
IOException
-
read
public int read(@NotNull @org.jetbrains.annotations.NotNull byte[] b, int off, int len) throws IOException- 覆盖:
read在类中FileInputStream- 抛出:
IOException
-
readNBytes
public int readNBytes(byte[] b, int off, int len) throws IOException- 覆盖:
readNBytes在类中InputStream- 抛出:
IOException
-
reset
public void reset() throws IOException- 覆盖:
reset在类中InputStream- 抛出:
IOException
-
markSupported
public boolean markSupported()
- 覆盖:
markSupported在类中InputStream
-
mark
public void mark(int readlimit)
- 覆盖:
mark在类中InputStream
-
close
public void close() throws IOException- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Closeable- 覆盖:
close在类中FileInputStream- 抛出:
IOException
-
skip
public long skip(long n) throws IOException- 覆盖:
skip在类中FileInputStream- 抛出:
IOException
-
skipNBytes
public void skipNBytes(long n) throws IOException- 覆盖:
skipNBytes在类中InputStream- 抛出:
IOException
-
available
public int available() throws IOException- 覆盖:
available在类中FileInputStream- 抛出:
IOException
-
transferTo
public long transferTo(OutputStream out) throws IOException
- 覆盖:
transferTo在类中InputStream- 抛出:
IOException
-
-