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 IOperationFileItem
fromUploadFile(de.uplanet.lucy.server.connector.IUploadFile p_file)
String
getContentType()
Get the content type.File
getFile()
Get the uploaded file.String
getFileName()
Get the file name.String
toString()
-
-
-
Method Detail
-
fromUploadFile
public static IOperationFileItem fromUploadFile(de.uplanet.lucy.server.connector.IUploadFile p_file)
-
getFileName
public String getFileName()
Description copied from interface:IOperationFileItem
Get the file name.- Specified by:
getFileName
in interfaceIOperationFileItem
- Returns:
- The file name.
-
getContentType
public String 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
public File 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
-
-