FileItem createItem(String fieldName, String contentType, boolean isFormField, String fileName)
FileIteminstance from the supplied parameters and any local factory configuration.
fieldName- The name of the form field.
contentType- The content type of the form field.
trueif this is a plain form field;
fileName- The name of the uploaded file, if any, as supplied by the browser or other client.
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.