We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.external.apache.commons.fileupload2.
Interface FileItemFactory
All Known Implementing Classes:
public interface FileItemFactory
A factory interface for creating FileItem
instances. Factories can
provide their own custom configuration, over and above that provided by the
default file upload implementation.
-
Method Summary
-
Method Details
-
createItem
Create a new
FileItem
instance from the supplied parameters and any local factory configuration.Parameters:
fieldName
- The name of the form field.contentType
- The content type of the form field.isFormField
-true
if this is a plain form field;false
otherwise.fileName
- The name of the uploaded file, if any, as supplied by the browser or other client.Returns:
The newly created file item.
-