Class MimeBoundaryInputStream

All Implemented Interfaces:
Closeable, AutoCloseable

public class MimeBoundaryInputStream extends LineReaderInputStream
Stream that constrains itself to a single MIME body part. After the stream ends (i.e. read() returns -1) isLastPart() can be used to determine if a final boundary has been seen or not.