info.magnolia.ui.form.field.upload
Class UploadReceiver
java.lang.Object
org.vaadin.easyuploads.FileBuffer
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)
|
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 |
UploadReceiver
public UploadReceiver(File directory,
info.magnolia.i18nsystem.SimpleTranslator i18n)
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.