Class SavedFiles
Object
org.anchoranalysis.test.image.stackwriter.SavedFiles
public class SavedFiles extends Object
Access previously saved-files in resources.
Different sets of saved-files exist, indexed by their file extension.
- Author:
- Owen Feehan
-
Method Summary
Modifier and Type Method Description static DualComparercreateComparer(Path directory, String extension)Creates a comparer between a directory and saved-files in a directory in the resources.static TestLoadercreateLoader(String extension)Creates a loader for reading from a particular set of saved-files in a directory in the resources.
-
Method Details
-
createComparer
Creates a comparer between a directory and saved-files in a directory in the resources.- Parameters:
directory- the directory (forms the first element to compare).extension- a file-extension to identify a set of saved-files (forms the second element to compare).- Returns:
- a newly created comparer.
-
createLoader
Creates a loader for reading from a particular set of saved-files in a directory in the resources.- Parameters:
extension- a file-extension to identify a set of saved-files (forms the second element to compare).- Returns:
- a newly created loader
-