public class ChecksumExtractorUtils extends Object
| Constructor and Description |
|---|
ChecksumExtractorUtils() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Long> |
extractChecksums(Document document)
Search for and return topics with associated check sums.
|
Map<String,Long> |
extractChecksumsFromDataProviderDictionaryForAgent(Camera camera,
String agentName,
org.lsst.ccs.bus.data.DataProviderDictionary dataProviderDictionary)
Extract all the checksums for a CCS DataProvideDictionary
|
Map<String,Long> |
extractChecksumsFromDictionaryConfiguration(MakeXMLConfiguration.DictionaryConfiguration dc,
Mapping mapping)
Extract checksums from a DictionaryConfiguration
|
Map<String,Long> |
extractChecksumsFromSALXMLInputStream(InputStream in)
Search for and return topics with associated check sums.
|
public ChecksumExtractorUtils()
throws XPathExpressionException
XPathExpressionExceptionpublic Map<String,Long> extractChecksumsFromSALXMLInputStream(InputStream in) throws SAXException, XPathExpressionException, IOException, ParserConfigurationException
in - An stream which will be parsed to extract the XML documentSAXExceptionXPathExpressionExceptionIOExceptionParserConfigurationExceptionpublic Map<String,Long> extractChecksums(Document document) throws XPathExpressionException
document - The parsed XML document from which the checksum should be extractedXPathExpressionExceptionpublic Map<String,Long> extractChecksumsFromDataProviderDictionaryForAgent(Camera camera, String agentName, org.lsst.ccs.bus.data.DataProviderDictionary dataProviderDictionary)
camera - The camera corresponding to the dictionaryagentName - The agent namedataProviderDictionary - The data provider dictionarypublic Map<String,Long> extractChecksumsFromDictionaryConfiguration(MakeXMLConfiguration.DictionaryConfiguration dc, Mapping mapping)
dc - the dictionarymapping - the mapping to useCopyright © 2023 LSST. All rights reserved.