|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.ece.iacl.jist.pipeline.PipeModule edu.jhu.ece.iacl.jist.pipeline.PipeSource edu.jhu.ece.iacl.jist.pipeline.src.PipeFileDirectorySource
public class PipeFileDirectorySource
Iterate through all files in specified directory.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class edu.jhu.ece.iacl.jist.pipeline.PipeModule |
---|
PipeModule.PipeListener |
Field Summary | |
---|---|
protected ParamFile |
dirParam
The dir param. |
protected ParamString |
fileExtension
The file extension. |
protected java.util.Vector<java.io.File> |
fileList
The images. |
protected ParamFile |
fileParam
The file parameter |
protected ParamString |
filterExpression
The filter expression. |
protected ParamOption |
filterRule
The filter rule. |
protected ParamBoolean |
includeParam
The include param. |
protected int |
index
The index. |
protected ParamInteger |
searchDepth
The search depth. |
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 | |
---|---|
PipeFileDirectorySource()
Default constructor. |
Method Summary | |
---|---|
ParamCollection |
createInputParams()
Create input parameters. |
ParamCollection |
createOutputParams()
Create output parameters. |
protected void |
findMatchingFiles()
|
ParamFile |
getOutputParam()
Get file parameter. |
boolean |
hasNext()
Returns true if iterator has more elements. |
boolean |
iterate()
Iterate through files. |
void |
reset()
Reset iterator. |
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 |
---|
protected ParamFile dirParam
protected ParamBoolean includeParam
protected ParamOption filterRule
protected ParamString filterExpression
protected ParamString fileExtension
protected ParamInteger searchDepth
protected ParamFile fileParam
protected transient java.util.Vector<java.io.File> fileList
protected transient int index
Constructor Detail |
---|
public PipeFileDirectorySource()
Method Detail |
---|
public ParamCollection createInputParams()
createInputParams
in class PipeSource
public ParamCollection createOutputParams()
createOutputParams
in class PipeSource
public ParamFile getOutputParam()
getOutputParam
in class PipeSource
public boolean hasNext()
hasNext
in class PipeSource
public boolean iterate()
iterate
in class PipeSource
protected void findMatchingFiles()
public void reset()
reset
in class PipeSource
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |