Class OperationFileItem
java.lang.Object
de.uplanet.lucy.server.dataobjects.impl.OperationFileItem
- All Implemented Interfaces:
IOperationFileItem
-
Constructor Summary
ConstructorsConstructorDescriptionOperationFileItem(String p_strOriginalFileName, String p_strContentType, File p_fileUpload) -
Method Summary
Modifier and TypeMethodDescriptionstatic IOperationFileItemfromUploadFile(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:IOperationFileItemGet the file name.- Specified by:
getFileNamein interfaceIOperationFileItem- Returns:
- The file name.
-
getContentType
Description copied from interface:IOperationFileItemGet the content type.- Specified by:
getContentTypein interfaceIOperationFileItem- Returns:
- The content type,
or
nullif the data was not present in the request.
-
getFile
Description copied from interface:IOperationFileItemGet the uploaded file.This value may be
null. However this case indicates an error condition.- Specified by:
getFilein interfaceIOperationFileItem- Returns:
- The file
-
toString
-