Class MultiFileReader


public class MultiFileReader extends StackReader
  • Constructor Details

    • MultiFileReader

      public MultiFileReader()
  • Method Details

    • openFile

      public OpenedImageFile openFile(Path filePath, ExecutionTimeRecorder executionTimeRecorder) throws ImageIOException
      Description copied from class: StackReader
      Opens a file containing one or more images.

      This method should run as computationally quicky as possible. Image voxels should not yet be read.

      Specified by:
      openFile in class StackReader
      Parameters:
      filePath - where the file is located.
      executionTimeRecorder - records the execution-times of certain operations.
      Returns:
      an interface to the opened file that should be closed when no longer in use.
      Throws:
      ImageIOException - if the file cannot be read.
    • getFilePathParser

      public FilePathParser getFilePathParser()
    • setFilePathParser

      public void setFilePathParser(FilePathParser filePathParser)
    • getStackReader

      public StackReader getStackReader()
    • setStackReader

      public void setStackReader(StackReader stackReader)
    • isRecurseSubfolders

      public boolean isRecurseSubfolders()
    • setRecurseSubfolders

      public void setRecurseSubfolders(boolean recurseSubfolders)
    • getNavigateHigherDirectories

      public int getNavigateHigherDirectories()
      Search x number directories higher than file.
    • setNavigateHigherDirectories

      public void setNavigateHigherDirectories(int navigateHigherDirectories)
      Search x number directories higher than file.
    • getRegExFile

      public String getRegExFile()
      If non-empty a regular-expression is applied to files.
    • setRegExFile

      public void setRegExFile(String regExFile)
      If non-empty a regular-expression is applied to files.
    • getRegExDirectory

      public String getRegExDirectory()
      If non-empty a regular-expression is applied to directories.
    • setRegExDirectory

      public void setRegExDirectory(String regExDirectory)
      If non-empty a regular-expression is applied to directories.