We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.upload.receivers.
Class UploadOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.FileOutputStream
-
- com.vaadin.flow.component.upload.receivers.UploadOutputStream
-
All Implemented Interfaces:
public class UploadOutputStream extends FileOutputStream implements Serializable
FileOutputStream with a reference to the output file.
See Also:
-
-
Constructor Summary
Constructors Constructor Description UploadOutputStream​(File file)
-
Method Summary
All Methods Modifier and Type Method Description File
getFile()
-
Methods inherited from class java.io.FileOutputStream
close, finalize, getChannel, getFD, write, write, write
-
Methods inherited from class java.io.OutputStream
flush, nullOutputStream
-
-
-
-
Constructor Detail
-
UploadOutputStream
public UploadOutputStream​(File file) throws FileNotFoundException
Parameters:
file
- File to write.Throws:
FileNotFoundException
- seeFileOutputStream(File)
See Also:
-
-
Method Detail
-
getFile
public File getFile()
Returns:
File written by this output stream.
-
-