Class UHAbstractFileBuffer

java.lang.Object
org.vaadin.addons.f0rce.uploadhelper.receiver.UHAbstractFileBuffer
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
UHFileBuffer, UHMultiFileBuffer

public abstract class UHAbstractFileBuffer
extends java.lang.Object
implements java.io.Serializable
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    UHAbstractFileBuffer()
    Constructor for creating a file buffer with the default file factory.
    UHAbstractFileBuffer​(UHFileFactory factory)
    Constructor taking in the file factory used to create upload File.
  • Method Summary

    Methods inherited from class java.lang.Object

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

    • UHAbstractFileBuffer

      public UHAbstractFileBuffer()
      Constructor for creating a file buffer with the default file factory.

      Files will be created using File.createTempFile(String, String) and have that build 'upload_tmpfile_{FILENAME}_{currentTimeMillis}'

    • UHAbstractFileBuffer

      public UHAbstractFileBuffer​(UHFileFactory factory)
      Constructor taking in the file factory used to create upload File.
      Parameters:
      factory - file factory for file buffer