public class RepeatableFileInputStream extends InputStream
| 构造器和说明 |
|---|
RepeatableFileInputStream(File file) |
RepeatableFileInputStream(FileInputStream fis) |
RepeatableFileInputStream(FileInputStream fis,
File file) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
available() |
void |
close() |
File |
getFile() |
InputStream |
getWrappedInputStream() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
long |
skip(long n) |
readpublic RepeatableFileInputStream(File file) throws IOException
IOExceptionpublic RepeatableFileInputStream(FileInputStream fis) throws IOException
IOExceptionpublic RepeatableFileInputStream(FileInputStream fis, File file) throws IOException
IOExceptionpublic void reset()
throws IOException
reset 在类中 InputStreamIOExceptionpublic boolean markSupported()
markSupported 在类中 InputStreampublic void mark(int readlimit)
mark 在类中 InputStreampublic int available()
throws IOException
available 在类中 InputStreamIOExceptionpublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 InputStreamIOExceptionpublic int read()
throws IOException
read 在类中 InputStreamIOExceptionpublic long skip(long n)
throws IOException
skip 在类中 InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read 在类中 InputStreamIOExceptionpublic InputStream getWrappedInputStream()
public File getFile()
Copyright © 2020. All Rights Reserved.