List of usage examples for org.apache.commons.fileupload FileItemFactory FileItemFactory
FileItemFactory
From source file:org.activityinfo.server.attachment.AppEngineAttachmentService.java
@Override public FileItemFactory createFileItemFactory() { return new FileItemFactory() { @Override//from w w w .j a va 2 s .c o m public FileItem createItem(String fieldName, String contentType, boolean isFormField, String fileName) { return new InMemoryFileItem(fieldName, contentType, isFormField, fileName); } }; }