com.kirkwarez.wdysdv.batch
Class Processor

java.lang.Object
  extended bycom.kirkwarez.wdysdv.batch.Processor

public class Processor
extends Object

The Processor processes tasks taken from batches.

Since:
5.00
Version:
5.00
Author:
Berend "Kirk" Wouda

Constructor Summary
Processor()
          Constructs a new Processor.
 
Method Summary
 void process(Batch batch)
          Processes the given batch.
 void process(Task task)
          Processes the given task.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Processor

public Processor()
Constructs a new Processor.

Method Detail

process

public void process(Batch batch)
             throws IOException
Processes the given batch.

Parameters:
batch - The batch to process.
Throws:
IOException - When the files from the tasks have problems.

process

public void process(Task task)
             throws IOException
Processes the given task.

Parameters:
task - The task to process.
Throws:
IOException - When the files from the tasks have problems.