Interface FileInfo
- All Superinterfaces:
Serializable
Represents information about the file
-
Method Details
-
getId
UUID getId()Returns the UUID of the file.- Returns:
- the UUID of the file
-
getName
String getName()Returns the name of the file.- Returns:
- the name of the file
-
getContentType
String getContentType()Returns the MIME type of the file (e.g. "text/html", "text/csv").- Returns:
- the MIME type of the file
-
getExtension
String getExtension()Returns the extension of the file.- Returns:
- the extension of the file
-
getSize
Long getSize()Returns the size of the file.- Returns:
- the size of the file
-