Class GLFCatalogCheck

java.lang.Object
tritechgemini.fileio.GLFCatalogCheck

public class GLFCatalogCheck extends Object
Functions to check and if necessary create the catalogue files for glf files and the dat file with them.
Author:
Doug Gillespie
  • Field Details

  • Constructor Details

    • GLFCatalogCheck

      public GLFCatalogCheck()
  • Method Details

    • checkCatalogues

      public int checkCatalogues(String filePath)
      Check a file with a specific name.
      Parameters:
      filePath - full path to file
      Returns:
      -1 for error, 0, 1, 2, or 3 as a bitmap of whether it was necessary to create the glf and or the dat catalogues.
    • checkGLFFastCatalog

      public int checkGLFFastCatalog(File glfFile)
      Check the catalogue of the zipped glf file.
      Parameters:
      glfFile -
      Returns:
      -1 for error, 0 or 1 if catalogue added.