public final class SlidesMetadataExtractor extends MetadataExtractor
Provides the functionality to extract the metadata from presentations.
Supported formats:
.PPT | Microsoft PowerPoint Presentation |
.PPTX | Microsoft Office Open XML Presentation |
.PPS | Microsoft PowerPoint Slideshow |
.PPSX | Microsoft Office Open XML Auto-Play Presentation |
.PPSM | PowerPoint Open XML Macro-Enabled Slideshow |
.ODP | OpenDocument presentation |
Extracting the metadata:
// Create a metadata extractor for presentations
MetadataExtractor metadataExtractor = new SlidesMetadataExtractor();
// Extract a metadata from the stream
MetadataCollection metadata = metadataExtractor.extractMetadata(stream);
Constructor and Description |
---|
SlidesMetadataExtractor()
Initializes a new instance of the
SlidesMetadataExtractor class. |
Modifier and Type | Method and Description |
---|---|
protected MetadataCollection |
extractMetadataFromStream(InputStream stream,
LoadOptions loadOptions)
Extracts the metadata from the
stream . |
extractMetadata, extractMetadata, extractMetadata, extractMetadata
public SlidesMetadataExtractor()
Initializes a new instance of the SlidesMetadataExtractor
class.
protected MetadataCollection extractMetadataFromStream(InputStream stream, LoadOptions loadOptions)
Extracts the metadata from the stream
.
extractMetadataFromStream
in class MetadataExtractor
stream
- The stream of the document.loadOptions
- The options of loading the file.
Copyright © 2018. All rights reserved.