public class NotifyingFileInputStream extends InputStream
| Constructor and Description |
|---|
NotifyingFileInputStream(File f,
ProgressListener listener) |
NotifyingFileInputStream(InputStream in,
Long length,
String path,
ProgressListener listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
available, mark, markSupported, reset, skippublic NotifyingFileInputStream(File f, ProgressListener listener) throws IOException
IOExceptionpublic NotifyingFileInputStream(InputStream in, Long length, String path, ProgressListener listener) throws IOException
in - - the input stream containing file datalength - - maybe null if unknownpath - listener - IOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionCopyright © 2021 McEvoy Software Ltd. All rights reserved.