Class SnykDatabaseParser
- java.lang.Object
-
- org.palladiosimulator.pcm.confidentiality.reverseengineering.staticcodeanalysis.parts.SnykDatabaseParser
-
public class SnykDatabaseParser extends Object
-
-
Constructor Summary
Constructors Constructor Description SnykDatabaseParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
parseAttributes(org.jsoup.nodes.Document doc)
Map<String,String>
parseWebEntry(String path)
Parses the specified web entry for vulnerability attributes.
-
-
-
Method Detail
-
parseWebEntry
public Map<String,String> parseWebEntry(String path)
Parses the specified web entry for vulnerability attributes. The parser is built for parsing the Snyk vulnerability database website.- Parameters:
path
- to the vulnerability Snyk website entry- Returns:
- a map of attributes and their values.
-
-