Class FSUploadManager.FSUpload
- java.lang.Object
-
- org.ametys.plugins.core.impl.upload.FSUploadManager.FSUpload
-
- All Implemented Interfaces:
Upload
- Enclosing class:
- FSUploadManager
protected static class FSUploadManager.FSUpload extends Object implements Upload
Upload
implementation on file system.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFilename()
Retrieves the filename.String
getId()
Retrieves the upload id.InputStream
getInputStream()
Retrieves the input stream.long
getLength()
Retrieves the data length.String
getMimeType()
Retrieves the mime type.ZonedDateTime
getUploadedDate()
Retrieves the uploaded date.
-
-
-
Method Detail
-
getUploadedDate
public ZonedDateTime getUploadedDate()
Description copied from interface:Upload
Retrieves the uploaded date.- Specified by:
getUploadedDate
in interfaceUpload
- Returns:
- the uploaded date.
-
getFilename
public String getFilename()
Description copied from interface:Upload
Retrieves the filename.- Specified by:
getFilename
in interfaceUpload
- Returns:
- the filename.
-
getMimeType
public String getMimeType()
Description copied from interface:Upload
Retrieves the mime type.- Specified by:
getMimeType
in interfaceUpload
- Returns:
- the mime type.
-
getLength
public long getLength()
Description copied from interface:Upload
Retrieves the data length.
-
getInputStream
public InputStream getInputStream()
Description copied from interface:Upload
Retrieves the input stream.Each call will return a new
InputStream
.- Specified by:
getInputStream
in interfaceUpload
- Returns:
- the input stream of the data.
-
-