Class OperationFileItem
java.lang.Object
de.uplanet.lucy.server.dataobjects.impl.OperationFileItem
- All Implemented Interfaces:
IOperationFileItem
-
Constructor Summary
ConstructorDescriptionOperationFileItem
(String p_strOriginalFileName, String p_strContentType, File p_fileUpload) -
Method Summary
Modifier and TypeMethodDescriptionstatic IOperationFileItem
fromUploadFile
(de.uplanet.lucy.server.connector.IUploadFile p_file) Get the content type.getFile()
Get the uploaded file.Get the file name.toString()
-
Constructor Details
-
OperationFileItem
-
-
Method Details
-
fromUploadFile
public static IOperationFileItem fromUploadFile(de.uplanet.lucy.server.connector.IUploadFile p_file) -
getFileName
Description copied from interface:IOperationFileItem
Get the file name.- Specified by:
getFileName
in interfaceIOperationFileItem
- Returns:
- The file name.
-
getContentType
Description copied from interface:IOperationFileItem
Get the content type.- Specified by:
getContentType
in interfaceIOperationFileItem
- Returns:
- The content type,
or
null
if the data was not present in the request.
-
getFile
Description copied from interface:IOperationFileItem
Get the uploaded file.This value may be
null
. However this case indicates an error condition.- Specified by:
getFile
in interfaceIOperationFileItem
- Returns:
- The file
-
toString
-