info.magnolia.ui.form.field.upload
Class UploadReceiver

java.lang.Object
  extended by org.vaadin.easyuploads.FileBuffer
      extended by info.magnolia.ui.form.field.upload.UploadReceiver

public class UploadReceiver
extends org.vaadin.easyuploads.FileBuffer

Implementation of FileBuffer.
Expose need variables.
Currently only support FieldType.FILE.

See Also:
Serialized Form

Constructor Summary
UploadReceiver(File directory, info.magnolia.i18nsystem.SimpleTranslator i18n)
           
 
Method Summary
 String getExtension()
           
 org.vaadin.easyuploads.FileFactory getFileFactory()
           
 String getFileName()
           
 long getFileSize()
           
 String getMimeType()
           
 
Methods inherited from class org.vaadin.easyuploads.FileBuffer
getContentAsStream, getFieldType, getFile, getLastFileName, getLastFileSize, getLastMimeType, getValue, isDeleteFiles, isEmpty, receiveUpload, setDeleteFiles, setFieldType, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UploadReceiver

public UploadReceiver(File directory,
                      info.magnolia.i18nsystem.SimpleTranslator i18n)
Method Detail

getFileFactory

public org.vaadin.easyuploads.FileFactory getFileFactory()
Specified by:
getFileFactory in class org.vaadin.easyuploads.FileBuffer

getFileName

public String getFileName()

getFileSize

public long getFileSize()

getMimeType

public String getMimeType()

getExtension

public String getExtension()


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.