Class XPathNugetconfParser
- java.lang.Object
-
- org.owasp.dependencycheck.data.nuget.XPathNugetconfParser
-
@ThreadSafe public class XPathNugetconfParser extends java.lang.Object
Parse a packages.config file using XPath.- Author:
- doshyt
-
-
Constructor Summary
Constructors Constructor Description XPathNugetconfParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<NugetPackageReference>
parse(java.io.InputStream stream)
Parse an input stream and return the resultingNugetPackage
.
-
-
-
Method Detail
-
parse
public java.util.List<NugetPackageReference> parse(java.io.InputStream stream) throws NugetconfParseException
Parse an input stream and return the resultingNugetPackage
.- Parameters:
stream
- the input stream to parse- Returns:
- the populated bean
- Throws:
NugetconfParseException
- when an exception occurs
-
-