Class AttachmentUtils


  • public class AttachmentUtils
    extends Object
    • Constructor Detail

      • AttachmentUtils

        public AttachmentUtils()
    • Method Detail

      • getLatestAttachmentStream

        @Deprecated
        public static InputStream getLatestAttachmentStream​(Attachment attachment)
        Returns the attachment data as an InputStream

        This method is not specific to any implementation of the AttachmentManager.

        Parameters:
        attachment - the attachment the data should be retrieved for
        Returns:
        the InputStream from the AttachmentManager
        Throws:
        IllegalStateException - if the AttachmentManager could not be retrieved from the application context