public class UploadedFile extends Object
IUploadPreProcessor.process(UploadedFile)
, so the data can be transformed before being persisted.Constructor and Description |
---|
UploadedFile(File file,
org.apache.commons.fileupload.FileItem fileItem) |
Modifier and Type | Method and Description |
---|---|
String |
getContentType() |
String |
getFieldName() |
File |
getFile() |
String |
getFileName() |
boolean |
isFormField() |
void |
setContentType(String contentType) |
void |
setFileName(String fileName) |
public UploadedFile(File file, org.apache.commons.fileupload.FileItem fileItem)
public File getFile()
public String getFieldName()
public String getContentType()
public void setContentType(String contentType)
public boolean isFormField()
public String getFileName()
public void setFileName(String fileName)
Copyright © 2007–2021 Hippo B.V. (http://www.onehippo.com). All rights reserved.