public class UploadReceiver
extends org.vaadin.easyuploads.FileBuffer
FileBuffer
.FieldType.FILE
.Modifier and Type | Field and Description |
---|---|
static String |
INVALID_FILE_NAME |
Constructor and Description |
---|
UploadReceiver(File directory,
info.magnolia.i18nsystem.SimpleTranslator i18n) |
Modifier and Type | Method and Description |
---|---|
String |
getExtension() |
org.vaadin.easyuploads.FileFactory |
getFileFactory() |
String |
getFileName() |
long |
getFileSize() |
String |
getMimeType() |
OutputStream |
receiveUpload(String filename,
String MIMEType) |
void |
setFileName(String fileName) |
public static final String INVALID_FILE_NAME
@Inject public UploadReceiver(File directory, info.magnolia.i18nsystem.SimpleTranslator i18n)
public OutputStream receiveUpload(String filename, String MIMEType)
receiveUpload
in class org.vaadin.easyuploads.FileBuffer
public org.vaadin.easyuploads.FileFactory getFileFactory()
getFileFactory
in class org.vaadin.easyuploads.FileBuffer
public String getFileName()
public long getFileSize()
public String getMimeType()
public String getExtension()
public void setFileName(String fileName)
Copyright © 2016 Magnolia International Ltd.. All rights reserved.