org.mmbase.util.images
Class DummyImageInformer

java.lang.Object
  extended by org.mmbase.util.images.DummyImageInformer
All Implemented Interfaces:
ImageInformer

public class DummyImageInformer
extends Object
implements ImageInformer

The `Dummy' ImageInformer can inform about an image without any external packages. It depends upon ImageInfo

Since:
MMBase 1.7.4
Version:
$Id: DummyImageInformer.java 35335 2009-05-21 08:14:41Z michiel $
Author:
Michiel Meeuwissen

Constructor Summary
DummyImageInformer()
           
 
Method Summary
 Dimension getDimension(byte[] data)
           
 Dimension getDimension(InputStream data)
           
 void init(Map<String,String> params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyImageInformer

public DummyImageInformer()
Method Detail

init

public void init(Map<String,String> params)
Specified by:
init in interface ImageInformer

getDimension

public Dimension getDimension(byte[] data)
Specified by:
getDimension in interface ImageInformer

getDimension

public Dimension getDimension(InputStream data)
Specified by:
getDimension in interface ImageInformer


MMBase 2.0-SNAPSHOT - null