edu.jhu.ece.iacl.jist.pipeline.src
Class PipeFileListSource

java.lang.Object
  extended by edu.jhu.ece.iacl.jist.pipeline.PipeModule
      extended by edu.jhu.ece.iacl.jist.pipeline.PipeSource
          extended by edu.jhu.ece.iacl.jist.pipeline.src.PipeListSource
              extended by edu.jhu.ece.iacl.jist.pipeline.src.PipeFileListSource
All Implemented Interfaces:
PipePort.PortListener, ParamViewObserver

public class PipeFileListSource
extends PipeListSource

Iterate through list of files.

Author:
Blake Lucas

Nested Class Summary
 
Nested classes/interfaces inherited from class edu.jhu.ece.iacl.jist.pipeline.PipeModule
PipeModule.PipeListener
 
Field Summary
protected  ParamFile filesParam
          The files param.
 
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.src.PipeListSource
data, endEntry, fileParam, index, offset, startEntry
 
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.PipeSource
childPort, isReset, parentPort
 
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.PipeModule
bounds, cell, currentContext, inputHash, inputParams, inputPorts, label, listeners, name, outputHash, outputParams, outputPorts
 
Constructor Summary
PipeFileListSource()
          Default constructor.
 
Method Summary
 ParamCollection createInputParams()
          Create input parameters.
 ParamCollection createOutputParams()
          Create output parameters.
 ParamFile getOutputParam()
          Get file parameters.
protected  java.io.File getValue(int i)
          Get File value.
protected  void setValue(java.lang.Object obj)
          Set file value.
 
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.src.PipeListSource
hasNext, iterate, reset
 
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.PipeSource
createModuleCell, disconnect, getChildPort, getParentPort, getRoot, init, isRoot
 
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.PipeModule
addListener, connectAction, disconnectAction, forward, getAncestors, getAncestors, getBounds, getChildren, getCurrentContext, getDescendants, getDescendants, getInputHash, getInputParams, getInputPorts, getLabel, getListeners, getModuleCell, getName, getOutputHash, getOutputParams, getOutputPorts, getParents, isAncestorOf, isDescendantOf, push, removeAllListeners, removeListener, setBounds, setCurrentContext, setLabel, setModuleCell, setName, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filesParam

protected ParamFile filesParam
The files param.

Constructor Detail

PipeFileListSource

public PipeFileListSource()
Default constructor.

Method Detail

createInputParams

public ParamCollection createInputParams()
Create input parameters.

Overrides:
createInputParams in class PipeListSource
Returns:
the param collection

createOutputParams

public ParamCollection createOutputParams()
Create output parameters.

Specified by:
createOutputParams in class PipeSource
Returns:
the param collection

getOutputParam

public ParamFile getOutputParam()
Get file parameters.

Specified by:
getOutputParam in class PipeSource
Returns:
the output param

getValue

protected java.io.File getValue(int i)
Get File value.

Specified by:
getValue in class PipeListSource
Parameters:
i - the i
Returns:
the value

setValue

protected void setValue(java.lang.Object obj)
Set file value.

Specified by:
setValue in class PipeListSource
Parameters:
obj - the obj