public interface MimeParserListener
| Modifier and Type | Method and Description |
|---|---|
MimeContext |
createContext(MimeParserContext parserContext,
Headers headers)
Create an appropriate context object for the MIME object represented by headers.
|
void |
object(MimeParserContext parserContext,
Headers headers,
InputStream inputStream)
Signal that a MIME object has been discovered.
|
MimeContext createContext(MimeParserContext parserContext, Headers headers)
parserContext - context object for the current parser.headers - MIME headers for the object that has been discovered.void object(MimeParserContext parserContext, Headers headers, InputStream inputStream) throws IOException
parserContext - context object for the current parser.headers - headers for the MIME object.inputStream - input stream representing its content.IOException - in case of a parsing/processing error.Copyright © 2015–2019 The veraPDF Consortium. All rights reserved.