Class DirectoryBuildPropsParser
java.lang.Object
org.owasp.dependencycheck.data.nuget.DirectoryBuildPropsParser
Parses `Directory.Build.props`.
- Author:
- Jeremy Long
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the imports identified during parsing.parse(InputStream stream) Parse the properties from the `Directory.Build.props` file InputStream.If any import nodes are found while parsing, the values will be available via `getImports()` after parsing is complete.
-
Constructor Details
-
DirectoryBuildPropsParser
public DirectoryBuildPropsParser()
-
-
Method Details
-
getImports
-
parse
Parse the properties from the `Directory.Build.props` file InputStream.If any import nodes are found while parsing, the values will be available via `getImports()` after parsing is complete.- Parameters:
stream- the input stream containing the props file to parse.- Returns:
- the properties.
- Throws:
MSBuildProjectParseException- thrown if there is a parsing error.
-