Class UHUploadOutputStream

java.lang.Object
java.io.OutputStream
java.io.FileOutputStream
org.vaadin.addons.f0rce.uploadhelper.receiver.UHUploadOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable, java.io.Serializable, java.lang.AutoCloseable

public class UHUploadOutputStream
extends java.io.FileOutputStream
implements java.io.Serializable
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    UHUploadOutputStream​(java.io.File file)  
  • Method Summary

    Modifier and Type Method Description
    java.io.File getFile()  

    Methods inherited from class java.io.FileOutputStream

    close, getChannel, getFD, write, write, write

    Methods inherited from class java.io.OutputStream

    flush, nullOutputStream

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UHUploadOutputStream

      public UHUploadOutputStream​(java.io.File file) throws java.io.FileNotFoundException
      Parameters:
      file - File to write.
      Throws:
      java.io.FileNotFoundException - see FileOutputStream(File)
      See Also:
      FileOutputStream(File)
  • Method Details

    • getFile

      public java.io.File getFile()
      Returns:
      File written by this output stream.