info.magnolia.ui.form.field.upload
Class DefaultFileFactory
java.lang.Object
info.magnolia.ui.form.field.upload.DefaultFileFactory
- All Implemented Interfaces:
- org.vaadin.easyuploads.FileFactory
public class DefaultFileFactory
- extends Object
- implements org.vaadin.easyuploads.FileFactory
Default implementation of FileFactory
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultFileFactory
public DefaultFileFactory(File directory,
info.magnolia.i18nsystem.SimpleTranslator i18n)
createFile
public File createFile(String fileName,
String mimeType)
- Specified by:
createFile
in interface org.vaadin.easyuploads.FileFactory
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.