public interface Renderer extends Serializable
Modifier and Type | Method and Description |
---|---|
Set<MediaType> |
getSupportedTypes(ParseContext context)
Returns the set of media types supported by this renderer when used
with the given parse context.
|
RenderResults |
render(InputStream is,
Metadata metadata,
ParseContext parseContext,
RenderRequest... requests) |
Set<MediaType> getSupportedTypes(ParseContext context)
context
- parse contextRenderResults render(InputStream is, Metadata metadata, ParseContext parseContext, RenderRequest... requests) throws IOException, TikaException
IOException
TikaException
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.