org.apache.maven.svnlib
Class SvnChangeLogParser

java.lang.Object
  extended byorg.apache.maven.svnlib.SvnChangeLogParser
All Implemented Interfaces:
ChangeLogParser

public class SvnChangeLogParser
extends Object
implements ChangeLogParser

A class to parse the log output from Subversion.

Version:
$Id: SvnChangeLogParser.java 532339 2007-04-25 12:28:56Z ltheussl $
Author:
dIon Gillard, Pete Kazmier, Daniel Rall

Constructor Summary
SvnChangeLogParser()
          Default constructor.
 
Method Summary
 void cleanup()
          Clean up any parser resources.
 void init(ChangeLog changeLog)
          Initialize the parser from the change log.
 Collection parse(InputStream anInputStream)
          Parse the input stream into a collection.
 void setDateFormatInFile(String dateFormat)
          Set the date formatter for parse starteam stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SvnChangeLogParser

public SvnChangeLogParser()
Default constructor.

Method Detail

init

public void init(ChangeLog changeLog)
Initialize the parser from the change log.

Specified by:
init in interface ChangeLogParser
Parameters:
changeLog - The controlling task
See Also:
ChangeLogParser.init(ChangeLog)

cleanup

public void cleanup()
Clean up any parser resources.

Specified by:
cleanup in interface ChangeLogParser
See Also:
ChangeLogParser.cleanup()

parse

public Collection parse(InputStream anInputStream)
                 throws IOException
Parse the input stream into a collection.

Specified by:
parse in interface ChangeLogParser
Parameters:
anInputStream - An input stream containing svn log output
Returns:
A collection of ChangeLogEntry's
Throws:
IOException - When there are errors reading the provided stream

setDateFormatInFile

public void setDateFormatInFile(String dateFormat)
Description copied from interface: ChangeLogParser
Set the date formatter for parse starteam stream

Specified by:
setDateFormatInFile in interface ChangeLogParser
Parameters:
dateFormat - a dateFormat for replace the local format


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.