Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.apache.maven.plugin.changelog;
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
  * regarding copyright ownership.  The ASF licenses this file
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
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.

Glenn McAllister
Jeff Martin
Jason van Zyl
dIon Gillard
Stefan Bodewig
Peter Donald
$ 437762 2006-08-28 19:29:49 +0200 (må, 28 aug 2006) dennisl $
public class ChangeLog
parses a previously generated changelog xml document and return its changed sets

stream the changelog xml document
changelog sets parsed from the xml document
javax.xml.parsers.ParserConfigurationException when instantiation of the SAX parser failed
org.xml.sax.SAXException when an error occurred while parsing the xml document when an error occurred while accessing the xml document
    public static List loadChangedSetsInputStream stream )
        SAXParser parser = SAXParserFactory.newInstance().newSAXParser();
        List changeLogSets = new ArrayList();
        parser.parsestreamnew ChangeLogHandlerchangeLogSets ) );
        return changeLogSets;
    public static List loadChangedSetsReader reader )
        SAXParser parser = SAXParserFactory.newInstance().newSAXParser();
        List changeLogSets = new ArrayList();
        parser.parsenew InputSourcereader ), new ChangeLogHandlerchangeLogSets ) );
        return changeLogSets;
// end of ChangeLog
New to GrepCode? Check out our FAQ X