Module jakarta.mail

Class SharedFileInputStream

java.lang.Object
All Implemented Interfaces:
SharedInputStream, Closeable, AutoCloseable

public class SharedFileInputStream extends BufferedInputStream implements SharedInputStream
A SharedFileInputStream is a BufferedInputStream that buffers data from the file and supports the mark and reset methods. It also supports the newStream method that allows you to create other streams that represent subsets of the file. A RandomAccessFile object is used to access the file data.

Since:
JavaMail 1.4