Package | Description |
---|---|
org.apache.sling.cms |
Package with all of the common models used to access content in the Sling
reference CMS
|
org.apache.sling.cms.insights |
Support for Content Insights
|
Modifier and Type | Method and Description |
---|---|
File |
FileManager.getFile()
Get the file containing the adapted resource
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
FileMetadataExtractor.extractMetadata(File file)
Extract the metadata from the specified file and return the resulting
metadata
|
void |
FileMetadataExtractor.updateMetadata(File file)
Extract the metadata from the specified file and persist the results under
the jcr:content/metadata node of the file resource
|
void |
FileMetadataExtractor.updateMetadata(File file,
boolean persist)
Extract the metadata from the specified file and persist the results under
the jcr:content/metadata node of the file resource
|
Modifier and Type | Method and Description |
---|---|
File |
FileInsightRequest.getFile()
Returns the file used to create this request
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Insight> |
InsightFactory.getInsights(File file)
Get the insights which are enabled for a particular file.
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.