org.apache.maven.plugin.changelog
Class ChangeLog

java.lang.Object
  extended by org.apache.maven.plugin.changelog.ChangeLog

public class ChangeLog
extends java.lang.Object

Change log task. It uses a ChangeLogGenerator and ChangeLogParser to create a Collection of ChangeLogEntry objects, which are used to produce an XML output that represents the list of changes.

Version:
$Id:ChangeLog.java 437762 2006-08-28 19:29:49 +0200 (må, 28 aug 2006) dennisl $
Author:
Glenn McAllister, Jeff Martin, Jason van Zyl, dIon Gillard, Stefan Bodewig, Peter Donald

Constructor Summary
ChangeLog()
           
 
Method Summary
static java.util.List loadChangedSets(java.io.InputStream stream)
          parses a previously generated changelog xml document and return its changed sets
static java.util.List loadChangedSets(java.io.Reader reader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangeLog

public ChangeLog()
Method Detail

loadChangedSets

public static java.util.List loadChangedSets(java.io.InputStream stream)
                                      throws javax.xml.parsers.ParserConfigurationException,
                                             org.xml.sax.SAXException,
                                             java.io.IOException
parses a previously generated changelog xml document and return its changed sets

Parameters:
stream - the changelog xml document
Returns:
changelog sets parsed from the xml document
Throws:
javax.xml.parsers.ParserConfigurationException - when instantiation of the SAX parser failed
org.xml.sax.SAXException - when an error occurred while parsing the xml document
java.io.IOException - when an error occurred while accessing the xml document

loadChangedSets

public static java.util.List loadChangedSets(java.io.Reader reader)
                                      throws javax.xml.parsers.ParserConfigurationException,
                                             org.xml.sax.SAXException,
                                             java.io.IOException
Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException


Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.