Package repast.simphony.batch.ssh
Class MatchedFiles
java.lang.Object
repast.simphony.batch.ssh.MatchedFiles
A collection of files that match some specified file pattern.
- Author:
- Nick Collier
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddAllFiles(Collection<File> files) Adds all the files as matched files.voidAdds the specified file as a match.voidaggregateOutput(String outputDir) Aggregates all the files into this MatchedFiles output file written to the specified directory.getFiles()Gets a List of the matched files.Gets the OutputPattern associated with this MatchedFiles.booleanisEmpty()Gets whether or not this MatchedFiles collection has any files.booleanGets whether or not the path matches this MatchedFiles pattern.
- 
Constructor Details- 
MatchedFiles
 
- 
- 
Method Details- 
isEmptypublic boolean isEmpty()Gets whether or not this MatchedFiles collection has any files.- Returns:
- true if this has no files, otherwise false.
 
- 
getPatternGets the OutputPattern associated with this MatchedFiles.- Returns:
 
- 
matchesGets whether or not the path matches this MatchedFiles pattern.- Parameters:
- path-
- Returns:
- true if there is a match otherwise false.
 
- 
addFileAdds the specified file as a match.- Parameters:
- file-
 
- 
getFilesGets a List of the matched files.- Returns:
- a List of the matched files.
 
- 
addAllFilesAdds all the files as matched files.- Parameters:
- files-
 
- 
aggregateOutputAggregates all the files into this MatchedFiles output file written to the specified directory.- Parameters:
- outputDir-
- Throws:
- IOException
 
 
-