org.mmbase.util.images
Class MemoryReceiver

java.lang.Object
  extended by org.mmbase.util.images.MemoryReceiver
All Implemented Interfaces:
ImageConversionReceiver

public class MemoryReceiver
extends Object
implements ImageConversionReceiver

The 'image conversion receiver' storing the result in a File

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

Constructor Summary
MemoryReceiver()
           
 
Method Summary
 Dimension getDimension()
           
 InputStream getInputStream()
           
 OutputStream getOutputStream()
           
 long getSize()
           
 void ready()
           
 void setDimension(Dimension d)
           
 void setSize(long s)
           
 boolean wantsDimension()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemoryReceiver

public MemoryReceiver()
Method Detail

getDimension

public Dimension getDimension()

getOutputStream

public OutputStream getOutputStream()
Specified by:
getOutputStream in interface ImageConversionReceiver

getInputStream

public InputStream getInputStream()
                           throws IOException
Specified by:
getInputStream in interface ImageConversionReceiver
Throws:
IOException

setSize

public void setSize(long s)
Specified by:
setSize in interface ImageConversionReceiver

getSize

public long getSize()
Specified by:
getSize in interface ImageConversionReceiver

wantsDimension

public boolean wantsDimension()
Specified by:
wantsDimension in interface ImageConversionReceiver

setDimension

public void setDimension(Dimension d)
Specified by:
setDimension in interface ImageConversionReceiver

ready

public void ready()
           throws IOException
Specified by:
ready in interface ImageConversionReceiver
Throws:
IOException


MMBase 2.0-SNAPSHOT - null