Module jakarta.mail
Package jakarta.mail.util
Jakarta Mail API utility classes.
This package specifies utility classes that are useful with
other Jakarta Mail APIs.
-
Interface Summary Interface Description LineInputStream LineInputStream supports reading CRLF terminated lines that contain only US-ASCII characters from an input stream.LineOutputStream This interface is to support writing out Strings as a sequence of bytes terminated by a CRLF sequence.StreamProvider Service lookup is used to find implementations of this interface. -
Class Summary Class Description ByteArrayDataSource A DataSource backed by a byte array.SharedByteArrayInputStream A ByteArrayInputStream that implements the SharedInputStream interface, allowing the underlying byte array to be shared between multiple readers.SharedFileInputStream ASharedFileInputStream
is aBufferedInputStream
that buffers data from the file and supports themark
andreset
methods. -
Enum Summary Enum Description StreamProvider.EncoderTypes Enumeration with the different encoder types supported by the Mail API.