Top Description Interfaces Classes
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

Modifier and TypeInterface and Description
public interface
LineInputStream

LineInputStream supports reading CRLF terminated lines that contain only US-ASCII characters from an input stream.

public interface
LineOutputStream

This interface is to support writing out Strings as a sequence of bytes terminated by a CRLF sequence.

public interface
StreamProvider

Service lookup is used to find implementations of this interface.

Class Summary

Modifier and TypeClass and Description
public class
ByteArrayDataSource

A DataSource backed by a byte array.

pack-priv class
public class
SharedByteArrayInputStream

A ByteArrayInputStream that implements the SharedInputStream interface, allowing the underlying byte array to be shared between multiple readers.

public class
SharedFileInputStream

A SharedFileInputStream is a BufferedInputStream that buffers data from the file and supports the mark and reset methods.