public class LicensesFileReader extends Object
| Constructor and Description |
|---|
LicensesFileReader() |
| Modifier and Type | Method and Description |
|---|---|
List<ProjectLicenseInfo> |
parseLicenseSummary(InputStream licSummaryIS)
Read a component-info.xml from an input stream into a ComponentInfo object.
|
public List<ProjectLicenseInfo> parseLicenseSummary(InputStream licSummaryIS) throws IOException, ParserConfigurationException, SAXException
licSummaryIS - Input stream containing the license dataIOException - if there is a problem reading the InputStreamParserConfigurationException - if there is a problem parsing the XML streamSAXException - if there is a problem parsing the XML streamCopyright © 2017 JBoss by Red Hat. All rights reserved.