public class PptxInputTransformer extends Object implements InputTransformer
InputTransformer to extract the metadata, and then it generates a thumbnail image with Apache
POI.| Constructor and Description |
|---|
PptxInputTransformer(InputTransformer inputTransformer)
The inputTransformer parameter will be used to generate the basic metadata.
|
| Modifier and Type | Method and Description |
|---|---|
Metacard |
transform(InputStream input)
Transforms the input into a
Metacard. |
Metacard |
transform(InputStream input,
String id)
|
public PptxInputTransformer(InputTransformer inputTransformer)
NullPointerException will be thrown.inputTransformer - must be non-nullNullPointerExceptionpublic Metacard transform(InputStream input) throws IOException, CatalogTransformerException
InputTransformerMetacard.transform in interface InputTransformerinput - the binary InputStream to transformMetacardIOException - if an I/O exception occurs when reading the InputStreamCatalogTransformerException - if an error occurs during transformationpublic Metacard transform(InputStream input, String id) throws IOException, CatalogTransformerException
InputTransformertransform in interface InputTransformerinput - the binary InputStream to transformid - the attribute value for the Metacard.ID attribute that should be set in the
generated MetacardMetacardIOException - if an I/O exception occurs when reading the InputStreamCatalogTransformerException - if an error occurs during transformationThis work is licensed under a Creative Commons Attribution 4.0 International License.