Class DirectoryPackagesPropsParser
- java.lang.Object
- 
- org.owasp.dependencycheck.data.nuget.DirectoryPackagesPropsParser
 
- 
 public class DirectoryPackagesPropsParser extends java.lang.ObjectParses a nuget's Directory.Packages.props file using XPath.- Author:
- Jeremy Long
 
- 
- 
Constructor SummaryConstructors Constructor Description DirectoryPackagesPropsParser()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>parse(java.io.InputStream stream, java.util.Properties props)Parses the given stream for Directory.Packages.props elements.
 
- 
- 
- 
Method Detail- 
parsepublic java.util.Map<java.lang.String,java.lang.String> parse(java.io.InputStream stream, java.util.Properties props) throws MSBuildProjectParseExceptionParses the given stream for Directory.Packages.props elements.- Parameters:
- stream- the input stream to parse
- props- the Directory.Build.props properties
- Returns:
- a collection of discovered NuGet package references
- Throws:
- MSBuildProjectParseException- if an exception occurs
 
 
- 
 
-