Package org.apache.tika.renderer
Interface Renderer
- 
- All Superinterfaces:
- Serializable
 - All Known Subinterfaces:
- PDDocumentRenderer
 - All Known Implementing Classes:
- CompositeRenderer,- MuPDFRenderer,- PDFBoxRenderer
 
 public interface Renderer extends Serializable Interface for a renderer. This should be flexible enough to run on the initial design: PDF pages but also on portions of PDF pages as well as on other document types.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<MediaType>getSupportedTypes(ParseContext context)Returns the set of media types supported by this renderer when used with the given parse context.RenderResultsrender(InputStream is, Metadata metadata, ParseContext parseContext, RenderRequest... requests)
 
- 
- 
- 
Method Detail- 
getSupportedTypesSet<MediaType> getSupportedTypes(ParseContext context) Returns the set of media types supported by this renderer when used with the given parse context.- Parameters:
- context- parse context
- Returns:
- immutable set of media types
- Since:
- Apache Tika 2.5.0
 
 - 
renderRenderResults render(InputStream is, Metadata metadata, ParseContext parseContext, RenderRequest... requests) throws IOException, TikaException - Throws:
- IOException
- TikaException
 
 
- 
 
-