Package io.milton.servlet
Class FileItemWrapper
java.lang.Object
io.milton.servlet.FileItemWrapper
- All Implemented Interfaces:
FileItem
-
Constructor Details
-
FileItemWrapper
public FileItemWrapper(org.apache.commons.fileupload2.core.DiskFileItem wrapped)
-
-
Method Details
-
fixIEFileName
strip path information provided by IE- Parameters:
s-- Returns:
-
getContentType
- Specified by:
getContentTypein interfaceFileItem
-
getFieldName
- Specified by:
getFieldNamein interfaceFileItem
-
getInputStream
- Specified by:
getInputStreamin interfaceFileItem
-
getOutputStream
- Specified by:
getOutputStreamin interfaceFileItem
-
getName
-
getSize
public long getSize() -
getHeaders
- Specified by:
getHeadersin interfaceFileItem
-
getPath
-