public class SmbOutputStream extends OutputStream
| Constructor and Description |
|---|
SmbOutputStream(com.hierynomus.smbj.share.File file,
boolean appendContent)
Create a new decorated output stream that respects the reference counting close mechanism of the file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
write(int i) |
write, writepublic SmbOutputStream(com.hierynomus.smbj.share.File file,
boolean appendContent)
file - File that will provide the output streamappendContent - Append the content to the current file or overwrite itpublic void write(int i)
throws IOException
write in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionCopyright © 2020. All rights reserved.