Package tritechgemini.fileio
Class GLFCatalogCheck
java.lang.Object
tritechgemini.fileio.GLFCatalogCheck
Functions to check and if necessary create the catalogue files for
glf files and the dat file with them.
- Author:
- Doug Gillespie
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcheckCatalogues(String filePath) Check a file with a specific name.intcheckGLFFastCatalog(File glfFile) Check the catalogue of the zipped glf file.
-
Field Details
-
ADD_GLFFASTCATALOG
public static final int ADD_GLFFASTCATALOG- See Also:
-
ADD_DATFILECATALOG
public static final int ADD_DATFILECATALOG- See Also:
-
-
Constructor Details
-
GLFCatalogCheck
public GLFCatalogCheck()
-
-
Method Details
-
checkCatalogues
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
Check the catalogue of the zipped glf file.- Parameters:
glfFile-- Returns:
- -1 for error, 0 or 1 if catalogue added.
-