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) |
read
public RepeatableFileInputStream(File file) throws IOException
IOException
public RepeatableFileInputStream(FileInputStream fis) throws IOException
IOException
public RepeatableFileInputStream(FileInputStream fis, File file) throws IOException
IOException
public void reset() throws IOException
reset
在类中 InputStream
IOException
public boolean markSupported()
markSupported
在类中 InputStream
public void mark(int readlimit)
mark
在类中 InputStream
public int available() throws IOException
available
在类中 InputStream
IOException
public void close() throws IOException
close
在接口中 Closeable
close
在接口中 AutoCloseable
close
在类中 InputStream
IOException
public int read() throws IOException
read
在类中 InputStream
IOException
public long skip(long n) throws IOException
skip
在类中 InputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
在类中 InputStream
IOException
public InputStream getWrappedInputStream()
public File getFile()
Copyright © 2019. All Rights Reserved.