# Package javax.mail.util

package javax.mail.util

Jakarta Mail API utility classes. This package specifies utility classes that are useful with other Jakarta Mail APIs.

Related Packages
Package
Description
javax.mail
The Jakarta Mail API provides classes that model a mail system.
javax.mail.event
Listeners and events for the Jakarta Mail API.
javax.mail.internet
Classes specific to Internet mail systems.
javax.mail.search
Message search terms for the Jakarta Mail API.
Classes
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
A `SharedFileInputStream` is a `BufferedInputStream` that buffers data from the file and supports the `mark` and `reset` methods.