T - the type of object that provides the metadatapublic interface MetadataExtractor<T>
| Modifier and Type | Method and Description |
|---|---|
void |
extract(org.springframework.core.io.Resource resource,
T metadata,
Map<String,Object> properties)
Takes relevant metadata from the source object to the properties parameter
|
void extract(org.springframework.core.io.Resource resource,
T metadata,
Map<String,Object> properties)
resource - the original file containing the metadata (in case any extra operation is needed)metadata - the object that provides the metadataproperties - the properties that will be indexedCopyright © 2023 CrafterCMS. All rights reserved.