Package gov.nasa.pds.tools.util
Class VersionInfo
java.lang.Object
gov.nasa.pds.tools.util.VersionInfo
public class VersionInfo extends Object
This class provides the means to retrieve underlying supported versions of
standards.
- Author:
- pramirez
-
Field Summary
Fields Modifier and Type Field Description static String
COPYRIGHT
static String
LIBRARY_VERSION
static String
PDS_DEFAULT_NAMESPACE
static String
PDS_VERSION
static String
SCHEMA_DIR
static String
SCHEMA_DIR_PROP
static String
SCHEMATRON_NAMESPACE
static String
STANDARDS_VERSION
static String
XML_VERSION
-
Constructor Summary
Constructors Constructor Description VersionInfo()
-
Method Summary
Modifier and Type Method Description static String
getCopyright()
static List<String>
getDirectoryFileNames(File directory)
static File[]
getDirectoryListing(File directory)
static String
getLibraryVersion()
static String
getPDSDefaultNamespace(String modelVersion)
static String
getPDSVersion()
static String[]
getResourceListing(String path)
static String
getSchemaRefFromJar(String modelVersion, String schemaFile)
static List<String>
getSchemas()
static List<String>
getSchemasFromDirectory()
static List<String>
getSchemasFromJar(String modelVersion)
static String
getSchematronNamespace()
static String
getSchematronRefFromJar(String modelVersion, String schematronFile)
static List<String>
getSchematronsFromJar(String modelVersion)
static String
getStandardsVersion()
static List<String>
getSupportedModels()
static String
getXMLParserVersion()
static String
getXMLVersion()
static Boolean
isInternalMode()
-
Field Details
-
XML_VERSION
- See Also:
- Constant Field Values
-
LIBRARY_VERSION
- See Also:
- Constant Field Values
-
STANDARDS_VERSION
- See Also:
- Constant Field Values
-
PDS_VERSION
- See Also:
- Constant Field Values
-
COPYRIGHT
- See Also:
- Constant Field Values
-
SCHEMA_DIR
- See Also:
- Constant Field Values
-
SCHEMA_DIR_PROP
- See Also:
- Constant Field Values
-
PDS_DEFAULT_NAMESPACE
- See Also:
- Constant Field Values
-
SCHEMATRON_NAMESPACE
- See Also:
- Constant Field Values
-
-
Constructor Details
-
VersionInfo
public VersionInfo()
-
-
Method Details
-
getXMLVersion
-
getXMLParserVersion
-
getLibraryVersion
-
getStandardsVersion
-
getPDSVersion
-
getCopyright
-
getSchematronNamespace
-
getSchemasFromDirectory
-
getSchemasFromJar
-
getSchematronsFromJar
-
getSchematronRefFromJar
-
getSchemaRefFromJar
-
getSchemas
-
getDirectoryFileNames
-
getDirectoryListing
-
getPDSDefaultNamespace
-
getSupportedModels
-
getResourceListing
- Throws:
URISyntaxException
IOException
-
isInternalMode
-