Package tritechgemini.fileio
Class OfflineCatalogProgress
java.lang.Object
tritechgemini.fileio.OfflineCatalogProgress
Progress info sent to observes when the offline file catalogue is being
updated. This is done from a multifilecatalog.
- Author:
- Doug Gillespie
-
Constructor Summary
ConstructorsConstructorDescriptionOfflineCatalogProgress(int state, int totalFiles, int currentFile, String lastFile, GeminiFileCatalog newCatalog) -
Method Summary
Modifier and TypeMethodDescriptionintA single file catalogue that's been added to a MultiFileCatalogueintgetState()int
-
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
- Returns:
- the lastFile
-
getTotalFiles
public int getTotalFiles()- Returns:
- the totalFiles
-
getNewCatalog
A single file catalogue that's been added to a MultiFileCatalogue- Returns:
- the newCatalog
-