@Service @Property(name="thumbnail.provider.name", value="nt:file") public class FileThumbnailProvider extends java.lang.Object implements ThumbnailProvider
FileThumbnailProvider
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 and Description |
---|
FileThumbnailProvider() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getThumbnailPath(Resource resource,
int width,
int height,
java.util.Map<java.lang.String,java.lang.Object> additionalConf) |
public java.lang.String getThumbnailPath(Resource resource, int width, int height, java.util.Map<java.lang.String,java.lang.Object> additionalConf)
getThumbnailPath
in interface ThumbnailProvider
Copyright © 2010 - 2020 Adobe. All Rights Reserved