Class OfflineCatalogProgress

java.lang.Object
tritechgemini.fileio.OfflineCatalogProgress

public class OfflineCatalogProgress extends Object
Progress info sent to observes when the offline file catalogue is being updated. This is done from a multifilecatalog.
Author:
Doug Gillespie
  • Constructor Details

    • OfflineCatalogProgress

      public OfflineCatalogProgress(int state, int totalFiles, int currentFile, String lastFile, GeminiFileCatalog newCatalog)
  • Method Details

    • getState

      public int getState()
      Returns:
      the state
    • getCurrentFile

      public int getCurrentFile()
      Returns:
      the nFiles
    • getLastFileName

      public String getLastFileName()
      Returns:
      the lastFile
    • getTotalFiles

      public int getTotalFiles()
      Returns:
      the totalFiles
    • getNewCatalog

      public GeminiFileCatalog getNewCatalog()
      A single file catalogue that's been added to a MultiFileCatalogue
      Returns:
      the newCatalog