Package com.polarion.alm.tracker.model
Interface IThumbnail
public interface IThumbnail
- Since:
- 3.17.1
-
Method Summary
Modifier and TypeMethodDescriptionNote: It always returns the same data for the sameIThumbnail
even if the thumbnail is generated before or while this method is being called.boolean
Note: It always returns the same value if the thumbnail is generated before or while this method is being called.
-
Method Details
-
getContent
Note: It always returns the same data for the sameIThumbnail
even if the thumbnail is generated before or while this method is being called. It also triggers the generation of the thumbnail if does not exist.- Returns:
- the stream of the generated thumbnail if
isGenerated()
istrue
. Otherwise it returns the stream of the file icon. Caller of this method is responsible for closing the stream.
-
isGenerated
boolean isGenerated()Note: It always returns the same value if the thumbnail is generated before or while this method is being called.- Returns:
- true if the thumbnail is generated. Otherwise return false.
-