Package com.helger.mail.datasource
Interface IEncodingAwareDataSource
- All Superinterfaces:
jakarta.activation.DataSource,jakarta.mail.EncodingAware,IExtendedDataSource
Extension interface for
DataSource that includes
EncodingAware.- Author:
- Philip Helger
-
Field Summary
Fields inherited from interface com.helger.mail.datasource.IExtendedDataSource
DEFAULT_CONTENT_TYPE -
Method Summary
Modifier and TypeMethodDescriptiondefault Stringstatic IEncodingAwareDataSourcegetEncodingAware(jakarta.activation.DataSource aDS, IContentTransferEncoding aCTE) Methods inherited from interface jakarta.activation.DataSource
getContentType, getInputStream, getName, getOutputStreamMethods inherited from interface com.helger.mail.datasource.IExtendedDataSource
getAsDataHandler, getEncodingAware
-
Method Details
-
getContentTransferEncoding
-
getEncoding
- Specified by:
getEncodingin interfacejakarta.mail.EncodingAware- Returns:
- The content transfer encoding to be used. May be
null. - See Also:
-
getEncodingAware
@Nonnull static IEncodingAwareDataSource getEncodingAware(@Nonnull jakarta.activation.DataSource aDS, @Nullable IContentTransferEncoding aCTE)
-