Package com.hierynomus.smbj.share
Class FileOutputStream
java.lang.Object
java.io.OutputStream
com.hierynomus.smbj.share.FileOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private static final org.slf4j.Logger
private ProgressListener
private SMB2Writer
-
Constructor Summary
ConstructorsConstructorDescriptionFileOutputStream
(SMB2Writer writer, int bufferSize, long offset, ProgressListener progressListener) -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Field Details
-
writer
-
progressListener
-
isClosed
private boolean isClosed -
provider
-
logger
private static final org.slf4j.Logger logger
-
-
Constructor Details
-
Method Details
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
-
sendWriteRequest
private void sendWriteRequest() -
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
- Throws:
IOException
-
verifyConnectionNotClosed
- Throws:
IOException
-