Class OperationFileItem
- java.lang.Object
-
- de.uplanet.lucy.server.dataobjects.impl.OperationFileItem
-
- All Implemented Interfaces:
IOperationFileItem
public class OperationFileItem extends Object implements IOperationFileItem
-
-
Constructor Summary
Constructors Constructor Description OperationFileItem(String p_strOriginalFileName, String p_strContentType, File p_fileUpload)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IOperationFileItemfromUploadFile(de.uplanet.lucy.server.connector.IUploadFile p_file)StringgetContentType()Get the content type.FilegetFile()Get the uploaded file.StringgetFileName()Get the file name.StringtoString()
-
-
-
Method Detail
-
fromUploadFile
public static IOperationFileItem fromUploadFile(de.uplanet.lucy.server.connector.IUploadFile p_file)
-
getFileName
public String getFileName()
Description copied from interface:IOperationFileItemGet the file name.- Specified by:
getFileNamein interfaceIOperationFileItem- Returns:
- The file name.
-
getContentType
public String 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
public File 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
-
-