Class MemoryFileUploadFactory
java.lang.Object
jodd.http.upload.impl.MemoryFileUploadFactory
- All Implemented Interfaces:
FileUploadFactory
Factory for
.
invalid reference
jodd.net.upload.impl.MemoryFileUpload
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates new instance ofuploaded file.intsetMaxFileSize(int maxFileSize) Sets maximum file upload size.
-
Field Details
-
maxFileSize
protected int maxFileSize
-
-
Constructor Details
-
MemoryFileUploadFactory
public MemoryFileUploadFactory()
-
-
Method Details
-
getMaxFileSize
public int getMaxFileSize() -
setMaxFileSize
Sets maximum file upload size. Setting to -1 will disable this constraint. -
create
Creates new instance ofuploaded file.- Specified by:
createin interfaceFileUploadFactory
-