org.writersforge.catalan.process.workers.io
Class IoWorker

java.lang.Object
  extended byorg.writersforge.catalan.process.workers.BaseMetadataHolder
      extended byorg.writersforge.catalan.process.workers.BaseWorker
          extended byorg.writersforge.catalan.process.commands.BaseCommandWorker
              extended byorg.writersforge.catalan.process.workers.io.IoWorker
All Implemented Interfaces:
IMetadataHolder, IWorker

public class IoWorker
extends BaseCommandWorker

IWorker implementation which provides support for reading and writing data from files and other stream-related sources.

Author:
jsheets

Constructor Summary
IoWorker()
           
 
Method Summary
protected  ICommand[] getCommands()
          Retrieves all command objects for this worker.
 
Methods inherited from class org.writersforge.catalan.process.commands.BaseCommandWorker
doWork
 
Methods inherited from class org.writersforge.catalan.process.workers.BaseWorker
getActiveNodes, getActiveQueue, getDefaultProperties, getRuntimeProperties, getWorkspace, handleErrorProblem, handleFatalProblem, handleInfoProblem, handleWarningProblem, isProcessing, process, setDefaultProperties, setTerminalPriority
 
Methods inherited from class org.writersforge.catalan.process.workers.BaseMetadataHolder
getMetadata, setOptionalProperties, setRequiredProperties, validateProperties, validateType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.writersforge.catalan.process.workers.IMetadataHolder
getMetadata, validateProperties, validateType
 

Constructor Detail

IoWorker

public IoWorker()
Method Detail

getCommands

protected ICommand[] getCommands()
                          throws MetadataException
Retrieves all command objects for this worker.

Specified by:
getCommands in class BaseCommandWorker
Returns:
worker commands
Throws:
MetadataException - if unable to initialize metadata