public class SlideShowThumbnailProvider extends java.lang.Object implements ThumbnailProvider
| Constructor and Description |
|---|
SlideShowThumbnailProvider() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
applies(org.apache.sling.cms.File file)
Returns true if the ThumbnailProvider applies for the specified file.
|
java.io.InputStream |
getThumbnail(org.apache.sling.cms.File file)
Get the thumbnail from the specified file.
|
public boolean applies(org.apache.sling.cms.File file)
ThumbnailProviderapplies in interface ThumbnailProviderfile - the file to checkpublic java.io.InputStream getThumbnail(org.apache.sling.cms.File file)
throws java.io.IOException
ThumbnailProvidergetThumbnail in interface ThumbnailProviderfile - the file from which to retrieve the thumbnailjava.io.IOException - an exception occurs retrieving the thumbnailCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.