magoffin.matt.ma2.image.jmagick
Class BaseJMagickMediaEffect
java.lang.Object
magoffin.matt.ma2.image.jmagick.BaseJMagickMediaEffect
- All Implemented Interfaces:
- JMagickMediaEffect, MediaEffect
- Direct Known Subclasses:
- BumpMapEffect, RotateEffect, ScaleEffect
public abstract class BaseJMagickMediaEffect
- extends java.lang.Object
- implements JMagickMediaEffect
Base implementation of JMagickMediaEffect
.
The configurable properties of this class are:
- mediaBiz
- The
MediaBiz
implementation to use.
- Version:
- $Revision: 43 $ $Date: 2007-10-21 11:10:01 +1300 (Sun, 21 Oct 2007) $
- Author:
- Matt Magoffin (spamsqr@msqr.us)
Field Summary |
protected org.apache.log4j.Logger |
log
A class logger. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final org.apache.log4j.Logger log
- A class logger.
BaseJMagickMediaEffect
public BaseJMagickMediaEffect()
apply
public void apply(MediaItem item,
MediaRequest request,
MediaResponse response)
- Description copied from interface:
MediaEffect
- Apply the effect.
MediaHandler
and MediaEffect
implementations can utilize
the MediaRequest.getParameters()
map to keep track of request
processing state during processing. Different implementations of
MediaHandler
will support different implementations of
MediaEffects
.
- Specified by:
apply
in interface MediaEffect
- Parameters:
item
- the item being processedrequest
- the current requestresponse
- the current response
getMediaBiz
public MediaBiz getMediaBiz()
- Returns:
- Returns the mediaBiz.
setMediaBiz
public void setMediaBiz(MediaBiz mediaBiz)
- Parameters:
mediaBiz
- The mediaBiz to set.