se.datadosen.jalbum
Interface ImageProcessor


public interface ImageProcessor

The ImageProcessor implementation does all image processing. It is called once per directory Responsibilities of the ImageProcessor:

By traversing the files array using c.next(), it is ensured that two threads don't process the same image


Method Summary
 void processImage(AlbumBean engine, AlbumObject ao, java.io.File outputDir)
           
 void processImages(AlbumBean engine, AlbumBean.Counter c, java.io.File dir, java.io.File outputDir, AlbumObject[] objects)
           
 

Method Detail

processImages

void processImages(AlbumBean engine,
                   AlbumBean.Counter c,
                   java.io.File dir,
                   java.io.File outputDir,
                   AlbumObject[] objects)
                   throws java.io.IOException,
                          OperationAbortedException,
                          ElementException
Throws:
java.io.IOException
OperationAbortedException
ElementException

processImage

void processImage(AlbumBean engine,
                  AlbumObject ao,
                  java.io.File outputDir)
                  throws java.io.IOException
Throws:
java.io.IOException