Class XPathNuspecParser
- java.lang.Object
-
- org.owasp.dependencycheck.data.nuget.XPathNuspecParser
-
@ThreadSafe public class XPathNuspecParser extends java.lang.Object
Parse a Nuspec file using XPath.- Author:
- colezlaw
-
-
Constructor Summary
Constructors Constructor Description XPathNuspecParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NugetPackage
parse(java.io.InputStream stream)
Parse an input stream and return the resultingNugetPackage
.
-
-
-
Method Detail
-
parse
public NugetPackage parse(java.io.InputStream stream) throws NuspecParseException
Parse an input stream and return the resultingNugetPackage
.- Parameters:
stream
- the input stream to parse- Returns:
- the populated bean
- Throws:
NuspecParseException
- when an exception occurs
-
-