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 StringCOPYRIGHTstatic StringLIBRARY_VERSIONstatic StringPDS_DEFAULT_NAMESPACEstatic StringPDS_VERSIONstatic StringSCHEMA_DIRstatic StringSCHEMA_DIR_PROPstatic StringSCHEMATRON_NAMESPACEstatic StringSTANDARDS_VERSIONstatic StringXML_VERSION -
Constructor Summary
Constructors Constructor Description VersionInfo() -
Method Summary
Modifier and Type Method Description static StringgetCopyright()static List<String>getDirectoryFileNames(File directory)static File[]getDirectoryListing(File directory)static StringgetLibraryVersion()static StringgetPDSDefaultNamespace(String modelVersion)static StringgetPDSVersion()static String[]getResourceListing(String path)static StringgetSchemaRefFromJar(String modelVersion, String schemaFile)static List<String>getSchemas()static List<String>getSchemasFromDirectory()static List<String>getSchemasFromJar(String modelVersion)static StringgetSchematronNamespace()static StringgetSchematronRefFromJar(String modelVersion, String schematronFile)static List<String>getSchematronsFromJar(String modelVersion)static StringgetStandardsVersion()static List<String>getSupportedModels()static StringgetXMLParserVersion()static StringgetXMLVersion()static BooleanisInternalMode()
-
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:
URISyntaxExceptionIOException
-
isInternalMode
-