Class SavedFiles

Object
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 Details

    • createComparer

      public static DualComparer createComparer(Path directory, String extension)
      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

      public static TestLoader createLoader(String extension)
      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