Class LicensesFileReader
- java.lang.Object
-
- org.wildfly.maven.plugins.licenses.LicensesFileReader
-
public class LicensesFileReader extends Object
-
-
Constructor Summary
Constructors Constructor Description LicensesFileReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectInfoparseLicenseSummary(InputStream licSummaryIS)Read a *-licenses.xml from an input stream into a ProjectInfo object.
-
-
-
Method Detail
-
parseLicenseSummary
public ProjectInfo parseLicenseSummary(InputStream licSummaryIS) throws IOException, ParserConfigurationException, SAXException
Read a *-licenses.xml from an input stream into a ProjectInfo object.- Parameters:
licSummaryIS- Input stream containing the license data- Returns:
- ProjectInfo (a list of ProjectLicenseInfo objects and a list of KnownLicenseInfo objects)
- Throws:
IOException- 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 stream
-
-