com.atlassian.confluence.util
Interface ThumbnailInfoFactory

All Known Implementing Classes:
DefaultThumbnailInfoFactory

public interface ThumbnailInfoFactory

Used to produce ThumbnailInfo given an Attachment.


Method Summary
 ThumbnailInfo getThumbnailInfo(Attachment attachment)
          Returns a thumbnail info object if this attachment is valid and can be converted into a thumbnail.
 

Method Detail

getThumbnailInfo

ThumbnailInfo getThumbnailInfo(Attachment attachment)
Returns a thumbnail info object if this attachment is valid and can be converted into a thumbnail. Returns null otherwise.

Returns:
a thumbnail info object if this attachment is valid and can be converted into a thumbnail. Returns null otherwise.


Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.