Interface EmailFileReference

All Superinterfaces:
FileReference

public interface EmailFileReference extends FileReference
Represents a file attached to an email. If the email does not have any attachments, represents the .eml file.
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves the name of this file.
    long
    Retrieves the size of this file in bytes.
    Retrieves the MD5 checksum of this file.
    Retrieves the MIME type of this file.
  • Method Details

    • getMd5Checksum

      String getMd5Checksum()
      Retrieves the MD5 checksum of this file.
      Returns:
      file MD5 checksum string
    • getMimeType

      String getMimeType()
      Retrieves the MIME type of this file.
      Returns:
      file MIME type
    • getFileName

      String getFileName()
      Retrieves the name of this file.
      Returns:
      file name
    • getFileSize

      long getFileSize()
      Retrieves the size of this file in bytes.
      Returns:
      file size in bytes