Package de.xima.fc.form.common.models
Class UploadFileMeta
- java.lang.Object
-
- de.xima.fc.form.common.models.UploadFileMeta
-
- All Implemented Interfaces:
Serializable
public final class UploadFileMeta extends Object implements Serializable
Meta data about an uploaded file.- Since:
- 7.0.11
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UploadFileMeta(String fieldName, String fileName, long sizeBytes, String contentType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContentType()
String
getFieldName()
String
getFileName()
long
getSizeBytes()
-
-
-
Method Detail
-
getFieldName
public String getFieldName()
- Returns:
- The name of the form field where the file was uploaded.
-
getContentType
public String getContentType()
- Returns:
- The content type of the file's content.
-
getFileName
public String getFileName()
- Returns:
- The original name of the uploaded file.
-
getSizeBytes
public long getSizeBytes()
- Returns:
- The size in bytes of the file's content.
-
-