Class FileThumbnailProvider
- java.lang.Object
-
- com.day.cq.dam.commons.thumbnail.provider.FileThumbnailProvider
-
- All Implemented Interfaces:
ThumbnailProvider
@Service @Property(name="thumbnail.provider.name", value="nt:file") public class FileThumbnailProvider extends java.lang.Object implements ThumbnailProvider
TheFileThumbnailProvider
class does currently only consider nt:files. If the file is part of a DAM Lightbox, it attempts to locate the requested thumbnail within the asset referenced by the lightbox entry.
-
-
Constructor Summary
Constructors Constructor Description FileThumbnailProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getThumbnailPath(Resource resource, int width, int height, java.util.Map<java.lang.String,java.lang.Object> additionalConf)
-
-
-
Method Detail
-
getThumbnailPath
public java.lang.String getThumbnailPath(Resource resource, int width, int height, java.util.Map<java.lang.String,java.lang.Object> additionalConf)
- Specified by:
getThumbnailPath
in interfaceThumbnailProvider
-
-