Package edu.pdx.cs410J.grader
Interface EmailAttachmentProcessor
- All Known Implementing Classes:
AndroidProjectSubmissionsProcessor
,ProjectSubmissionsProcessor
,StudentEmailAttachmentProcessor
,SurveySubmissionsProcessor
,ZipFileSubmissionsProcessor
public interface EmailAttachmentProcessor
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
hasSupportedContentType
(jakarta.mail.Message message) void
processAttachment
(jakarta.mail.Message message, String fileName, InputStream inputStream, String contentType)
-
Method Details
-
processAttachment
void processAttachment(jakarta.mail.Message message, String fileName, InputStream inputStream, String contentType) -
getSupportedContentTypes
Iterable<? extends String> getSupportedContentTypes() -
hasSupportedContentType
default boolean hasSupportedContentType(jakarta.mail.Message message) throws jakarta.mail.MessagingException - Throws:
jakarta.mail.MessagingException
-