Package com.adaptris.filesystem.smbj
Interface WriteMode
-
- All Known Implementing Classes:
AppendMode,CreateMode,OverwriteMode
public interface WriteMode
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.hierynomus.mssmb2.SMB2CreateDispositionfileOpenMode()What's the mode for opening the file.java.io.OutputStreamgetOutputStream(com.hierynomus.smbj.share.File smbFile)
-
-
-
Method Detail
-
fileOpenMode
com.hierynomus.mssmb2.SMB2CreateDisposition fileOpenMode()
What's the mode for opening the file.- Returns:
- one of (probably) FILE_CREATE, FILE_OPEN_IF, FILE_OVERWRITE_IT depend on the type of operation you want to do.
-
getOutputStream
java.io.OutputStream getOutputStream(com.hierynomus.smbj.share.File smbFile)
-
-