blob: edd9cc3383fa09a8143c95f6f6910cbebe3453f9 [file] [log] [blame]
package org.bouncycastle.mime;
import java.io.IOException;
/**
* Base interface for a MIME parser.
*/
public interface MimeParser
{
/**
* Trigger the start of parsing.
*
* @param listener callback to be signalled as each MIME object is identified.
* @throws IOException on a parsing/IO exception.
*/
void parse(MimeParserListener listener)
throws IOException;
}