org.apache.maven.changes
Class ReleaseParser

java.lang.Object
  extended by org.apache.maven.changes.ReleaseParser

public final class ReleaseParser
extends Object

Parses a changes.xml file and returns the list of Release elements.

Version:
$Id: ReleaseParser.java 1205 2006-01-04 14:24:23Z snicoll $
Author:
Stephane Nicoll

Constructor Summary
ReleaseParser()
           
 
Method Summary
static Release[] parse(File changesFile)
           
static Release parse(File changesFile, String releaseVersion)
           
static Release[] parse(Reader changesReader)
           
static Release parse(Reader changesReader, String releaseVersion)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReleaseParser

public ReleaseParser()
Method Detail

parse

public static Release[] parse(File changesFile)
                       throws IOException,
                              InvalidChangesException
Throws:
IOException
InvalidChangesException

parse

public static Release[] parse(Reader changesReader)
                       throws InvalidChangesException,
                              IOException
Throws:
InvalidChangesException
IOException

parse

public static Release parse(File changesFile,
                            String releaseVersion)
                     throws ReleaseNotFoundException,
                            InvalidChangesException,
                            IOException
Throws:
ReleaseNotFoundException
InvalidChangesException
IOException

parse

public static Release parse(Reader changesReader,
                            String releaseVersion)
                     throws ReleaseNotFoundException,
                            InvalidChangesException,
                            IOException
Throws:
ReleaseNotFoundException
InvalidChangesException
IOException


Copyright © 2011 Codehaus. All Rights Reserved.