Package de.ihrigb.fwla.mail
Interface EmailBodyConverter<T>
- All Known Implementing Classes:
TextEmailBodyConverter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface EmailBodyConverter<T>
-
Method Details
-
convert
Convert the received message to the desired format. It may throwEmailBodyConvertionExceptionupon failure.- Parameters:
mimeMessage- the mime message to be converted- Returns:
- the converted value
-