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, waitcreateThumbnailpublic boolean accept(com.google.common.net.MediaType mediaType)
ThumbnailPreviewChecks if the thumbnail preview is capable to create a thumbnail of the given media type.
accept in interface ThumbnailPreviewmediaType - the media type.Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.