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