Package com.veeva.vault.sdk.api.email
Interface EmailFileReference
- All Superinterfaces:
FileReference
A reference to a file sourced from an inbound email, such as the
.eml file itself or an attachment.
This interface extends the standard FileReference, which provides methods for accessing
the file's content, and adds methods for retrieving email-specific file metadata.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the name of this file.longRetrieves the size of this file.Retrieves the MD5 checksum of this file's content.Retrieves the MIME type of this file, for example,"application/pdf"or"image/png".
-
Method Details
-
getMd5Checksum
String getMd5Checksum()Retrieves the MD5 checksum of this file's content.- Returns:
- This file's MD5 checksum as a hexadecimal string.
-
getMimeType
String getMimeType()Retrieves the MIME type of this file, for example,"application/pdf"or"image/png".- Returns:
- The MIME type of this file.
-
getFileName
String getFileName()Retrieves the name of this file.- Returns:
- The file name of this file.
-
getFileSize
long getFileSize()Retrieves the size of this file.- Returns:
- The file size of this file, in bytes.
-