Package jcifs.smb
Class SmbPipeOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- jcifs.smb.SmbFileOutputStream
-
- jcifs.smb.SmbPipeOutputStream
-
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
public class SmbPipeOutputStream extends SmbFileOutputStream
- Author:
- mbechler
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Closes this output stream and releases any system resources associated with it.protected jcifs.smb.SmbFileHandleImplensureOpen()protected jcifs.smb.SmbTreeHandleImplensureTreeConnected()protected jcifs.smb.SmbPipeHandleImplgetHandle()booleanisOpen()-
Methods inherited from class jcifs.smb.SmbFileOutputStream
init, open, write, write, write, writeDirect
-
Methods inherited from class java.io.OutputStream
flush, nullOutputStream
-
-
-
-
Method Detail
-
isOpen
public boolean isOpen()
- Overrides:
isOpenin classSmbFileOutputStream- Returns:
- whether the stream is open
- See Also:
SmbFileOutputStream.isOpen()
-
ensureTreeConnected
protected jcifs.smb.SmbTreeHandleImpl ensureTreeConnected() throws CIFSException- Overrides:
ensureTreeConnectedin classSmbFileOutputStream- Throws:
CIFSException
-
ensureOpen
protected jcifs.smb.SmbFileHandleImpl ensureOpen() throws CIFSException- Overrides:
ensureOpenin classSmbFileOutputStream- Throws:
CIFSException
-
getHandle
protected jcifs.smb.SmbPipeHandleImpl getHandle()
- Returns:
- the handle
-
close
public void close()
Description copied from class:SmbFileOutputStreamCloses this output stream and releases any system resources associated with it.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classSmbFileOutputStream
-
-