public class SharedInputStream extends InputStream
| Constructor and Description |
|---|
SharedInputStream(com.hierynomus.smbj.share.File file)
Create a new decorated input stream that respects the reference couting close mechanism of the file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read() |
available, mark, markSupported, read, read, reset, skippublic SharedInputStream(com.hierynomus.smbj.share.File file)
file - File that will provide the input streampublic int read()
throws IOException
read in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionCopyright © 2018. All rights reserved.