org.codehaus.mojo.license
Class LicenseSummaryReader

java.lang.Object
  extended by org.codehaus.mojo.license.LicenseSummaryReader

public class LicenseSummaryReader
extends Object

A LicenseSummaryReader.

Since:
1.0
Version:
$Revision: 13529 $
Author:
Paul Gier

Constructor Summary
LicenseSummaryReader()
           
 
Method Summary
static List<ProjectLicenseInfo> parseLicenseSummary(InputStream licSummaryIS)
          Read a component-info.xml from an input stream into a ComponentInfo object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LicenseSummaryReader

public LicenseSummaryReader()
Method Detail

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 InputStream
ParserConfigurationException - if there is a problem parsing the XML stream
SAXException - if there is a problem parsing the XML stream


Copyright © 2010-2012 The Kuali Foundation. All Rights Reserved.