Package com.almis.awe.model.dto
Class FileData
- java.lang.Object
-
- com.almis.awe.model.dto.FileData
-
- All Implemented Interfaces:
Serializable
public final class FileData extends Object implements Serializable
Stores the data to retrieve an uploaded file- Author:
- pgarcia
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FileData(FileData other)
Copy constructorFileData(String fileName, Long fileSize, String mimeType)
Generate a file upload data with the file tokenFileData(String fileName, Long fileSize, String mimeType, String relativePath)
Generate a file upload data with the file token
-
-
-
Constructor Detail
-
FileData
public FileData(FileData other)
Copy constructor- Parameters:
other
- fileData object
-
FileData
public FileData(String fileName, Long fileSize, String mimeType)
Generate a file upload data with the file token- Parameters:
fileName
- File namefileSize
- File sizemimeType
- Mime type
-
-