Package com.exedio.cope.pattern
Class MediaThumbnail
- java.lang.Object
-
- com.exedio.cope.Feature
-
- com.exedio.cope.Pattern
-
- com.exedio.cope.pattern.MediaPath
-
- com.exedio.cope.pattern.MediaFilter
-
- com.exedio.cope.pattern.MediaImageioFilter
-
- com.exedio.cope.pattern.MediaThumbnail
-
- All Implemented Interfaces:
Copyable
,Serializable
public final class MediaThumbnail extends MediaImageioFilter implements Copyable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.exedio.cope.pattern.MediaPath
MediaPath.Locator, MediaPath.Log, MediaPath.NotFound
-
-
Constructor Summary
Constructors Constructor Description MediaThumbnail(Media source, int boundX, int boundY)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MediaThumbnail
copy(CopyMapper mapper)
BufferedImage
filter(BufferedImage in)
int
getBoundX()
int
getBoundY()
-
Methods inherited from class com.exedio.cope.pattern.MediaImageioFilter
doGetAndCommit, get, getContentType, getImageWriteParam, getSupportedSourceContentTypes, isContentTypeWrapped
-
Methods inherited from class com.exedio.cope.pattern.MediaFilter
getLastModified, getLocatorWithFallbackToSource, getSource, getURLWithFallbackToSource, isFinal, isMandatory, isNotNull, isNotNull, isNull, isNull
-
Methods inherited from class com.exedio.cope.pattern.MediaPath
commit, getExceptionLogs, getGuessedUrlLogs, getInfo, getInvalidSpecialLogs, getIsNullLogs, getLocator, getNamedURL, getNoSuchItemLogs, getNoSuchPath, getNoSuchPathLogs, getNotAnItemLogs, getNotComputableLogs, getURL, incrementDelivered, isUrlFingerPrinted, isUrlGuessingPrevented, isUrlGuessingPreventedSecurely, notFoundIsNull, notFoundNotComputable, onMount
-
Methods inherited from class com.exedio.cope.Pattern
addSource, addSource, addSource, addSource, addSourceFeature, addSourceFeature, addSourceFeature, annotationField, equals, getGeneratedTypes, getSourceFeatures, getSourceFeaturesGather, getSourceFields, getSources, getSourceTypes, getType, hashCode, initialize, newSourceType, newSourceType, newSourceType, newSourceType, newSourceType, newSourceType, newType, newType, registerSource
-
Methods inherited from class com.exedio.cope.Feature
afterModelCreated, getAbstractType, getAnnotation, getID, getLocalizationKeys, getName, getPattern, isAnnotationPresent, isSourceAlready, mount, readResolve, requireMounted, toString, toString, writeReplace
-
-
-
-
Constructor Detail
-
MediaThumbnail
public MediaThumbnail(Media source, int boundX, int boundY)
-
-
Method Detail
-
copy
public MediaThumbnail copy(CopyMapper mapper)
-
getBoundX
public int getBoundX()
-
getBoundY
public int getBoundY()
-
filter
public BufferedImage filter(BufferedImage in)
- Specified by:
filter
in classMediaImageioFilter
-
-