public abstract class AbstractThumbnailPreview extends Object implements ThumbnailPreview
Abstract thumbnail preview which implements the accept(com.google.common.net.MediaType)
and the toString()
method.
Constructor and Description |
---|
AbstractThumbnailPreview() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(com.google.common.net.MediaType mediaType)
Checks if the thumbnail preview is capable to create a thumbnail of the given media type.
|
String |
toString() |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
createThumbnail
public boolean accept(com.google.common.net.MediaType mediaType)
ThumbnailPreview
Checks if the thumbnail preview is capable to create a thumbnail of the given media type.
accept
in interface ThumbnailPreview
mediaType
- the media type.Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.