public class RestartableFileInputStream extends RestartableInputStream
| Constructor and Description |
|---|
RestartableFileInputStream(File file) |
RestartableFileInputStream(File file,
BosProgressCallback progressCallback) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
restart() |
doProgressCallback, restartProgressCallback, setProgressCallback, wrapavailable, mark, markSupported, read, reset, skippublic RestartableFileInputStream(File file) throws FileNotFoundException
FileNotFoundExceptionpublic RestartableFileInputStream(File file, BosProgressCallback progressCallback) throws FileNotFoundException
FileNotFoundExceptionpublic void restart()
restart in class RestartableInputStreampublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionCopyright © 2024. All rights reserved.