Class LicenseSummaryReader
java.lang.Object
org.codehaus.mojo.license.download.LicenseSummaryReader
A LicenseSummaryReader.
- Since:
- 1.0
- Version:
- $Revision$
- Author:
- Paul Gier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List
<ProjectLicenseInfo> parseLicenseSummary
(File licSummaryFile) static List
<ProjectLicenseInfo> parseLicenseSummary
(InputStream licSummaryIS) Read a component-info.xml from an input stream into a ComponentInfo object.
-
Constructor Details
-
LicenseSummaryReader
public LicenseSummaryReader()
-
-
Method Details
-
parseLicenseSummary
public static List<ProjectLicenseInfo> parseLicenseSummary(File licSummaryFile) throws IOException, ParserConfigurationException, SAXException -
parseLicenseSummary
public static List<ProjectLicenseInfo> parseLicenseSummary(InputStream licSummaryIS) throws IOException, ParserConfigurationException, SAXException Read a component-info.xml from an input stream into a ComponentInfo object.- Parameters:
licSummaryIS
- Input stream containing the license data- Returns:
- List of DependencyProject 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
-