j2d.video.producers
Class FileSink

java.lang.Object
  extended by j2d.video.producers.FileSink
All Implemented Interfaces:
ImageListener

public class FileSink
extends java.lang.Object
implements ImageListener


Constructor Summary
FileSink(java.io.File dir)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void saveImage(java.awt.Image img)
           
 void update(java.awt.Image image)
          Used send the image to the listening application.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSink

public FileSink(java.io.File dir)
Method Detail

saveImage

public void saveImage(java.awt.Image img)

update

public void update(java.awt.Image image)
Description copied from interface: ImageListener
Used send the image to the listening application.

Specified by:
update in interface ImageListener

main

public static void main(java.lang.String[] args)