Package com.logicaldoc.ftp
Class FtpOutputStream
java.lang.Object
java.io.OutputStream
java.io.FileOutputStream
com.logicaldoc.ftp.FtpOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
Special implementation of a Stream used to create new files. It initially
uses a temporary file and when closed the document is stored in LogicalDOC.
- Since:
- 8.0
- Author:
- Marco Meschieri - LogicalDOC
-
Constructor Summary
-
Method Summary
Methods inherited from class java.io.FileOutputStream
getChannel, getFD, write, write, write
Methods inherited from class java.io.OutputStream
flush, nullOutputStream
-
Constructor Details
-
FtpOutputStream
- Throws:
IOException
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classFileOutputStream
- Throws:
IOException
-
dispose
public void dispose()
-